Basics-Since i am a beginer
When i navigate from one page to another using link-button & i come back again on the same page....I cudnt find the data which i entered previously on the web-form.Please do help
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.
Pavan NavaliPosted Sep 29, 2009, 7:18 AM
Http is a stateless protocol.
For ex. In your case, you enter some data in first page, the navigate to secnod page, then if you come back to first page, you have lost the data, because, when the user requests a page, the server renders the page as if the page has been requested for the first time. The data entered is lost if you navigate away from the page, because of the stateless property of HTTP.
You can make use of session state, querystring feaures in .net to resolve the problem
nitin murkutePosted Oct 6, 2009, 5:57 AM
http://msdn.microsoft.com/en-us/library/ms178581.aspx
Shital MandlechaPosted Oct 4, 2009, 3:24 AM