July 28th, 1999, 07:06 AM
July 28th, 1999, 10:57 AM
July 28th, 1999, 10:11 PM
yeah. how do we kill the cookie or make it expire when the browser points out of the website or after some time of inactivity ? when that happens, the user have to log in again. we don't want another user to go in without typing the username / password just because the valid user went away from his computer.
July 29th, 1999, 08:01 AM
Anything that requires the client to do something that you rely on is asking for trouble.
July 29th, 1999, 10:52 AM
However one way you could accomplish what your asking is to store a timestamp in the cookie.
Once the user returns you can check the timestamp to see if it is within the alloted time....if not, make them log in again.
Another way you could do it is to set the cookie to expire after a certin period of time.