Forum Moderators: coopster
I'm trying to display an icon that says when a user is online now. I was using a collumn in a database, but getting the logoff to happen instantaneously is giving me problems. I was trying to log people off suing a script that's triggered by the onError or onUnload events. That doesn't work very well for me, as my logoff script is a little long. I was going to do it with a cron job that runs every 5 minutes and tests when the user last did something on the site. Any help would be appreciated with login/logoff routines in general. I feel like I'm missing something.