|
make a field in your the user table named "lastvisit"
update that field with the curent time everytime the user clicks a page while logged in.
then figure out your timeout time ... lets say five minutes .. and you can query against their last visit to see if they are still logged in.
__________________
Mike
|