Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Session timeout warning?


Hbelkin

Recommended Posts

When a user logs in and starts shopping/browsing but gets interrupted by let's say a phone call, their session can time out. (I believe this is a server-level php setting). I don't mind this, but I do mind that there is no indication to the user that their session has ended.

 

I would very much like to "trap" the timeout and go to a page letting them know that the session has timed out and they need to log in again, or (better) pop up a small window asking them if they'd like to continue (to reset the counter).

 

Anyone know how (and where!) to do this?

 

Thanks!

 

PS: Not sure if the timeout is "Activity based" (so a mouse movement would keep the timer alive), or if a page change is needed to keep it alive. If it is a page change, I suppose I could use my own "timeout function" to start on page load, use a shorter threshold than the actual php timeout, and pop up a window...??

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...