What is a Session in asp.net?

Posted by Udaysimha under ASP.NET on 1/19/2012 | Points: 10 | Views : 1137 | Status : [Member] | Replies : 1
Hi All,
please any body give me information about what is Session and what is Session object and what is the use of Session object in ASP.NET.



Posted by: Hemanthlaxmi on: 1/19/2012 [Member] Starter | Points: 25

Sessions can be used to store even complex data for the user just like cookies. Actually, sessions will use cookies to store the data, unless you explicitly tell it not to. Sessions can be used easily in ASP.NET with the Session object. We will re-use the cookie example, and use sessions instead. Keep in mind though, that sessions will expire after a certain amount of minutes, as configured in the web.config file.


If this helps you .
Please "Mark as Answer"

Udaysimha, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response