Never mind! I've found the reason for this erratic behaviour: It's inside
Windows 2000. Obviously Windows itself is deleting the content of its
TEMP-Directory from time to time... So my session files are not deleted by
the PHP garbage collection routine but from this %*&/ Windows.

Since the session.save_path is pointing to another directory outside C:\TEMP
the sessions are alive for more than 15 minutes.

Thanks anyway, Rolf.

""DATURA"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
949cql$3oc$[EMAIL PROTECTED]">news:949cql$3oc$[EMAIL PROTECTED]...
> I have the following settings in PHP.INI:
> [Session]
> session.save_handler      = files
> session.save_path         = C:\temp
> session.use_cookies       = 1
> session.name              = PHPSESSID
> session.auto_start        = 1
> session.cookie_lifetime   = 0
> session.cookie_path       = /
> session.cookie_domain     =
> session.serialize_handler = php
> session.gc_probability    = 1
> session.gc_maxlifetime    = 86400   ; 24 hours
> session.referer_check     =
> session.entropy_length    = 0
> session.entropy_file      =
> ; session.entropy_length    = 16
> ; session.entropy_file      = /dev/urandom
> session.cache_limiter     = nocache
> session.cache_expire      = 180
> session.use_trans_sid     = 1
> url_rewriter.tags         =
> "a=href,area=href,frame=src,input=src,form=fakeentry"
>
> I'm using PHP under Windows 2000 with Apache 1.3.12.
>
> No matter what number is given in the line session.gc_maxlifetime the
> session file is deleted after 24 minutes (1440 sec.)
>
> Is 86400 a number too big or can someone tell me what there is to do, so I
> can make my own garbage collection?
>
> Thanks, Rolf.
>
>
>
>
> --
> PHP Windows 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]
>



-- 
PHP Windows 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]

Reply via email to