02-18-2008, 10:44 AM
|
#21 (permalink)
|
|
The Frequenter
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
|
You can create a cookie for that. It's kinda like a shoppingcart if you want to put it that way.
When you leave the order page, you wish to reset the entire order? Use the PHP setcoockie() function and set it on a timeout of approx. 5 minutes. What you can do as well, is set a $_SESSION['timestamp'] and fill it with the time(). Then the time is above 180 seconds or so (+= operator), you kill the entire session using session_destroy() or unset() the $_SESSION array.
(I'm going offline (11.48GTM+1), I'll be online tonight again)
__________________
"Life is a bitch, take that bitch on a ride"
|
|
|