Please give me Real time Example how to maintain Session in asp.net
Regards
Bvenkat Jeewesh
How to maintain Session in asp.net
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
WH Xu12 reputationPosted Jul 9, 2012, 6:32 PM EDT
Satyapriya NayakRank #47 · 31.5K reputationPosted Jul 9, 2012, 7:27 PM EDT
Please refer the below links
http://www.codeproject.com/Articles/32545/Exploring-Session-in-ASP-Net
http://asp.net-tutorials.com/state/sessions/
http://www.dnzone.com/go?565
http://www.dotnetfunda.com/articles/article576-explore-state-management-.aspx
Thanks
Jignesh TrivediRank #16 · 50.3K reputationPosted Jul 9, 2012, 8:47 PM EDT
ASP.NET session state enables you to store and retrieve values for a user as the user navigates ASP.NET pages in a Web application. HTTP is a stateless protocol.
ASP.NET session state identifies requests from the same browser during a limited time window as a session, and provides a way to persist variable values for the duration of that session. By default, ASP.NET session state is enabled for all ASP.NET applications.
Add Value in session.
Session["Name"] = txtNameTextBox.Text;
Retreive Session
txtNameTextBox.Text = Convert.Tostring(Session["Name"]);
Please refer
http://www.codeproject.com/Articles/7863/ASP-NET-Session-Management-Internals
hope this will help you.