?
Solved

Session State: what's the best solution?

Posted on 2004-08-12
3
Medium Priority
?
329 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 500 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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Integration Management Part 2
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

864 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