hey all,

I was wondering how one would suggest removing items from a cart system once the 
session lifetime has expired. I have it set to the default 0, which expires the 
session on browser close, what I want to be able to do is "delete * from Cart where 
session='$PHPSESSID'" when the user closes thier browser window is this even possible? 
maybe using register_shutdown_function or something?

Any ideas would be great!

Thanks

Joseph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to