Pop-up Alert Before Session Ends
Posted on 2002-03-19
I have a shopping cart which relies on Session Arrays to hold the item numbers/prices of items added to the cart. After processing I use this array to present download links to the customer to deleiver their product
Problem: If a user keeps their browser window open for more than the session length (which is already extra-ordinarily long!) Their cc gets processed but the item numbers are not transferred so that they can download the selected products.
What is the easiest/best way to fix this? Is there some way that I can pop-up an alert about 2 minutes before the session is about to end so that they know they need to do something to maintain the session state???
Thanks for all your ideas.