Link to home
Start Free TrialLog in
Avatar of LabDev
LabDev

asked on

Session State: what's the best solution?

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!
Avatar of Slimshaneey
Slimshaneey
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
ASKER CERTIFIED SOLUTION
Avatar of ihenry
ihenry

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LabDev
LabDev

ASKER

Thanxs a lot, both! Now i'm getting the right direction...

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