Session timeout - check

Posted by Gayathri under ASP.NET on 2/9/2011 | Points: 10 | Views : 3655 | Status : [Member] | Replies : 4
I have set the session timeout as 20 in web.config.


I have loaded one of the webpages in my website. (default.aspx).
after 20 mnts when the session expires wanna display a message " Your session expired".

how do i check this?
plz help...




Responses

Posted by: Naimishforu on: 2/9/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,

Check this out :)

http://www.dotnetfunda.com/codes/code1255-session-timeout-checking-in-aspnet-.aspx

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

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

Posted by: Taanu51 on: 2/9/2011 [Member] Starter | Points: 25

Up
0
Down
Hi check out this.....
http://www.dotnetexpertsforum.com/how-to-backup-and-restore-database-from-the-command-line-t1913.html#3401

Tanisha Sayyad
.Net and Android Developer
INDIA(Andhra Pradesh)

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

Posted by: Karthikanbarasan on: 2/9/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25
Posted by: Madhu.b.rokkam on: 2/10/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,

You can also try this

Add the below line

<meta http-equiv="Refresh" content="1201" url="yourErrorPage.aspx" />

in your default.aspx page at the top

Regards
Madhu




Thanks and Regards
Madhu

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

Login to post response