Solved

Session State: what's the best solution?

Posted on 2004-08-12
3
306 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

26 Experts available now in Live!

Get 1:1 Help Now