View Single Post
Old 06-11-2003, 09:23 PM   #5 (permalink)
bdl
Senior Contributor
 
Join Date: May 2002
Location: vta.ca.usa
Posts: 555
bdl is on a distinguished road
Quote:
Originally posted by Antagony
As for making a cookie time out, I know how to do that, but how does the site know when that cookie has timed out?
I suppose you would control the login with sessions. Once the cookie times out, the next page the user tries to access looks for that cookie. If it doesn't exist, delete the session, log the user out before they try to access the next page.
bdl is offline   Reply With Quote