I'm using sessions & cookies on my site & I've got a db table for members who are logged in.
My question is, how do I know if a user has just closed his browser rather than logging out of my site? I don't want to display a member as being logged in when they're not. Do I have to use a cron job to log them out if I get no reply from a cookie read request?
My question is, how do I know if a user has just closed his browser rather than logging out of my site? I don't want to display a member as being logged in when they're not. Do I have to use a cron job to log them out if I get no reply from a cookie read request?
