How to use this concept to implement the session?

Posted by Arjunan_Csharp under ASP.NET on 11/24/2012 | Points: 10 | Views : 798 | Status : [Member] | Replies : 1
Hi Friends,How to use HttpContext.Current.Application to store session state.What is the advantage?Please give me a simple explanation with simple example.




Responses

Posted by: Krv on: 11/25/2012 [Member] Starter | Points: 25

Up
0
Down
The values stored in the application object will exist till the application closed / restarted.
So if you want to store the session state into the application, you can store your session data in to the application object and clear it when the session end using global.asax page.



Thanks,
R.Vasanth
MCTS(SQL Server & BI)
http://bigdatatech.blogspot.com

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

Login to post response