When a session times out, a lot of my pages throw back errors. I understand what has happened, but my users won't. How can I display a message asking them to log in again automatically when the session times out?
Hi suzi,
Did you know that you can set a limit to when your sessions will timeout? Not sure if that will help you with this problem but it might... All you would have to do after defining how long you want your session to last do an if statement saying that if that amount of time has been surpassed to do a redirect to another page to log back in!
Here's some example code to define how long your sessions last!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.