on 7/26/01 11:06 AM, deco at [EMAIL PROTECTED] wrote:
>> an easier way of doing this is to have a database of users with their
>> password in the table and when they log on simply mark them logged using
>> sum boolean variable. this will, cut down time.
>> good luck!.
>> and remeber ........ Have a nice day :)
>
> And when would you uncheck the boolean value? In theory, when the
> session expires, but there's no event being triggered. Only solution would
> be to check for active sessions periodically, or something like this...
> Ideal solution would be for php to do it by itself when the session
> expires..
>
instead of a boolean you could use a timestamp and update it each time a
page is loaded. then a cron job could come by periodically and delete
sessions older than some specified time.
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]