Hi All,
In my application if session end i want to redirect to login page before redirect to login page i want to show a alert message to indicate the session expire.
or else how to redirect a page using global.asax.
in global.asax page i tried to so many ways to redirect but those are not working
can u please slove my issue.
Thanks in advance
Jignesh TrivediPosted Mar 14, 2014, 7:02 AM
Hi,
I think this is not possible to show message when session_end event is fire.
but u can do one think which is describe in below article.
http://www.codeproject.com/Articles/239798/Session-Timeout-Warning-and-Redirect
hope this will help you.
srujana thallamPosted Mar 18, 2014, 10:32 AM
Thanks for previous post one more error i am getting
I am getting the User Session Expired popUP ,even when actively working on an application(i.e am working in popup window at that time the main page is disable ths why error occurs). in asp.net
srujana thallamPosted Mar 14, 2014, 7:41 AM
Thanks for sending that link this is working fine
.
Keyur PatelPosted Mar 14, 2014, 6:52 AM
Please check following link
http://www.c-sharpcorner.com/Blogs/9758/how-to-redirect-to-the-login-page-automatically-when-session.aspx