How to use this concept to implement the session?

Posted by Arjunan_Csharp under ASP.NET on 11/24/2012 | Points: 10 | Views : 766 | 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.


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

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.

MCTS(SQL Server & BI)

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

Login to post response