Session expire
-
Sir.. I have two pages in websites. I have a label and button on first page, for 'Postbackurl ' property of button of first page ,I have taken url of second page.. & I have taken another label on second page I have added ..
<System.Web>
<sessionState Timeout="1"/>
</System.Web> into web.config fileso when i run the page ..first page will be opened ..then after 1 min I clicked on button still second page successfully opened.
and I want show by using label that..." Session is expired ".
Thanks & Regards
-Rakesh -
Sir.. I have two pages in websites. I have a label and button on first page, for 'Postbackurl ' property of button of first page ,I have taken url of second page.. & I have taken another label on second page I have added ..
<System.Web>
<sessionState Timeout="1"/>
</System.Web> into web.config fileso when i run the page ..first page will be opened ..then after 1 min I clicked on button still second page successfully opened.
and I want show by using label that..." Session is expired ".
Thanks & Regards
-RakeshHi these links should give you a better idea of how the session state works etc. Hope this helps you to identify your problem. http://justgeeks.blogspot.com/2008/07/aspnet-session-timeouts.html[^] http://www.hanselman.com/blog/TroubleshootingExpiredASPNETSessionStateAndYourOptions.aspx[^] http://msdn.microsoft.com/en-us/library/ms972429.aspx[^] The last link will help you configure your session correctly.