Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Session in Asp.net

Tags:

asp.net

When we add a variable to ASP.NET Session, where are those variables actually stored on the client side?

like image 448
kedar kamthe Avatar asked Dec 06 '22 07:12

kedar kamthe


1 Answers

If you are using the default session in ASP.NET then it is stored in memory inside the ASP.NET worker process. It is a server side cache, nothing at all to do with the client. There are other session store options available such as dedicated session state machine or sql server. You can also roll your own session provider.

All explained here http://msdn.microsoft.com/en-us/library/ms972429.aspx

like image 157
redsquare Avatar answered Jan 06 '23 14:01

redsquare