Re: Re: unset $PHP_AUTH_USER
| From: | Very Penguin | Date: | Wed, 07 Nov 2001 22:05:08 +0000 |
| Subject: | Re: Re: unset $PHP_AUTH_USER | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73814@lists.php.net to get a copy of this message | ||
Thank you, Galkov. I will try this way.
Dt
----- Original Message -----
From: "Galkov Vladimir" <galkov@kraft-s.ru>
To: <php-general@lists.php.net>
Sent: Wednesday, November 07, 2001 4:59 PM
Subject: Re: [PHP] Re: unset $PHP_AUTH_USER
> well this is good qwestion..... ;-)
>
> You may store record in (for example) MySQL like: Login, Login_time
> (active_sessions_list)
> and every time user send any reqwest check this thing:
>
> If select time from active_sessions_list where login - current_time > 5
> minutes
> then echo "no any operations now... timeout for login .... you must close
> the page and open linck again in new window";
> else
> update active_sessions_list time = curent_time where login = ....
> form_page_with_answer...
>
> well..... this is not SQL or PHP ... and not English I think....
> programmer's language ;-) .... some problem with delete old record I see
> (active_sessions_list) but I thinck you pass it if you accept the way ;-)
> Ofcourse the alien can wach at old information wich is already sended to
> browser... you can erise it using JavaScript (object model)... but is it
> realy needed? ;-)
>
> Vladimir.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com