Please give me Real time Example how to maintain Session in asp.net
Regards
Bvenkat Jeewesh
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Jul 10, 2012, 12:47 AM
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.
Satyapriya NayakPosted Jul 9, 2012, 11:27 PM
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
WH XuPosted Jul 9, 2012, 10:32 PM