AW: [PHP] Q:Making an 'expired event' for sessions
| From: | robert mischke | Date: | Sun, 01 Sep 2002 17:18:31 +0000 |
| Subject: | AW: [PHP] Q:Making an 'expired event' for sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114838@lists.php.net to get a copy of this message | ||
hi
in php.ini you can control behavior of sessions,
for example (take a look for you self;)
-> session.gc_maxlifetime = 1440,
in script you you may use ini_set for "dynamic control"
hope this is the right direction ..
robert
> Von: Mehran Ziadloo [mailto:mehran20@hotmail.com]
>
> Well since I was working with ASP before PHP, there's an
> event for sessions when they start and when they expire in
> ASP. Well in PHP I can put an IF statement to check if my
> variables are set or not for on_start event. But what should
> I do to have an event for the time they expire?
>
> Thanks for your help.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>