Where do the Cookie State and Session State information be stored?

Showing Answers 1 - 12 of 12 Answers

While executing the dynamic web page, at the end of execution, the value of session variables is calculated, compressed and transmitted to the client via a Cookie. At this stage the state resides entirely and only on the client file system (or RAM).


  Was this answer useful?  Yes

kirangiet

  • Oct 21st, 2009
 

Cookie Information will be stored in a txt file on client system under a
folder named Cookies. Search for it in your system you will find it.


Coming to Session State
As we know for every process some default space will be allocated by OS.


In case of InProc, Session Info will be stored inside the process where our
application is running.
In case of StateServer, Session Info will be stored using ASP.NET State Service.
In case of SQLServer, Session info will be stored inside Database. Default DB
which will be created after running InstallSQLState Script is ASPState.

  Was this answer useful?  Yes

yousuf

  • Sep 14th, 2011
 

Cookies : are stored in client side (User's browser) , Ideally suits for tiny data to be stored to be remembered by the browser where as Sessions : are variables stored in the web server to store data.

  Was this answer useful?  Yes

suresh

  • Feb 2nd, 2012
 

Cookie is stored in client machine
Session is stored in server

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions