Solved

Session State: what's the best solution?

Posted on 2004-08-12
3
315 Views
Last Modified: 2012-06-21
Hi!

I have an (standard) ASP application using Session() vars to store UserIDs, UserName, UserACL, and so on...
This one suffers from all the well known ASP's handicaps handling Session State (web farms, IIS restarts...).

Moving to ASP.NET & C#, my question is: whats the best solution (performance, scallability...)?

Some sensitive data will be stored, so surviving IIS crashes is a must!

Please, take note: app. must suport multi-user simultaneous acess, i.e, on the same machine, the same user must be able to open, login (same or diferent credentials), and work with 2 or more diferent sessions (application instances), whitout mix up ID's or data...

Thanxs, in advance!
0
Comment
Question by:LabDev
3 Comments
 
LVL 11

Expert Comment

by:Slimshaneey
ID: 11785075
Set up the app to use SQL Server to handle sessions. Its the best solution for sessions if you can afford the minor performance hit on the machine.
0
 
LVL 20

Accepted Solution

by:
ihenry earned 125 total points
ID: 11785411
I believe his article is useful for you,

http://www.eggheadcafe.com/articles/20021016.asp
0
 

Author Comment

by:LabDev
ID: 11785656
Thanxs a lot, both! Now i'm getting the right direction...

Stands old maxim: "Read a lot, before code a lot".....
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Login 17 48
SQL Exceptions 3 43
How to close an asp.net web form using C# ? 4 29
Older JQuery functionality is not in the newer JQuery 1.4.4 versions, 6 21
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now