Howdy,
For a challenge I took on a very large project and have decided to
develop it on Red Hat, using PHP and MySQL. I am pleased to say that
using Red Hat, PHP and MySQL has been extremely painless and a general
pleasure to use.
One thing has stumped me though.
Part of my site uses a forum/chat-area which highlights which users
are logged on and off of the site. Detecting when people logged off
would have been easy using ASP as I would use the Session_OnEnd
function within global.asa. But I am now horrified to discover that
PHP does not support this in anyway.
Surely this cannot be! If PHP lacks this fundamental ability I'm
afraid I am going to have to act like an immature schoolboy and slap
my forehead shouting 'Duh!!!' repeatedly.
I have read a few places that suggest using a timer to automatically
log people out of the database after ten minutes of inactivity. But I
simply refuse to believe there isn't a more elegant solution.
So any help or advice would be great.