Link to home
Start Free TrialLog in
Avatar of Joar
Joar

asked on

Session variables corruption in .NET

Is it really correct that session variable are not to be trusted in????
I have a web app (VB.NET) deployd on a web server on the internet that seems to get the session variables corrupted (blanked out) sometimes for no good reason as I can see. There is not a timeout situation! And it happens now and then with no reasonable explanation...
I have read some articles telling that session variables may corrupt if there is a lot of users connecting to the same app at the same time. Could it be??? Isn't the session variables connected to the spesific session??
What is the point of session variables if I cannot trust in them??? What alternatives do I have???
SOLUTION
Avatar of g_damodar
g_damodar

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 Joar
Joar

ASKER

Just a question while I am studying your link: Shoudn't 2 browser accessing the same app create 2 sessions?
If you open application in 2 seperate windows then it will create 2 sessions. But if open another browser from first browser then you will have same session on both the browsers.
Avatar of Joar

ASKER

So there should be no session variable conflicts at any time as long as different users open the same application from different PC's???
Then I feel that the link (which I neeed some time to understand...) is discussing another situation than my clients are into.
Can it be that some error handling in my app is not taken care of and thus causing destruction if the session variables?
ASKER CERTIFIED SOLUTION
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