954,178 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Session Variables a threat?

I read that session variables in ASP were a security threat.
Is this true for session variables in .Net?

thanks,
ed

earlofroberts
Newbie Poster
13 posts since May 2005
Reputation Points: 10
Solved Threads: 1
 

If someone can gain access to your computers memory where the session variables reside, you have a lot more to be concerned about than the session variables. Now in asp where you are going over the internet, I can see where this would be a concern.

Chester

cpopham
Junior Poster in Training
65 posts since Mar 2005
Reputation Points: 10
Solved Threads: 0
 

I guess the question is: do session variables in .Net reside on the server and not cross the net?

thanks,
ed

earlofroberts
Newbie Poster
13 posts since May 2005
Reputation Points: 10
Solved Threads: 1
 

Session variables run on the server side.Its not that easy to hack.You gotta hack the server to gain access to the session variables.

Most people say not to use session variables just because it degrades the efficiency of the webpage.

In my experience,session variables gave me a head ache in these cases.

1.In the middle of the application,if the user changes his screen resolution,the session variables remains the same(It screwed up).One has to close the browser and then reopen the browser for the application to run properly.

2.If you are using Dual servers and second server is intended to act when the first server fails.The session variables are lost when the first server fails.

Letscode
Junior Poster
175 posts since Feb 2005
Reputation Points: 11
Solved Threads: 6
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You