The Session object lets you store objects that remain available to the user as long as they are logged in (until they log out or their session expires). Objects stored in Session are available to all pages. More details at http://msdn.microsoft.com/en-us/library/ms178581.aspx.
Note: we can only accept one thread at a time as Answer here in C# Corner. So next time click only post, instead of multiple ones. Automatic mail alerts can be avoided to members.
Another way to maintain ASP.NET state management is by using Session objects.
Session objects used to store values that will persist across each user page requests.
Session values are stored on the server and will remain in memory until they are explicitly removed or until the Session expires.
I will suggest to pick an article on "ASP.NET state management" and read on.
Guest UserPosted Apr 15, 2011, 9:21 AM
Suthish NairPosted Apr 15, 2011, 11:15 AM
Suthish NairPosted Apr 15, 2011, 10:06 AM