Re: Sessions not destroyed

From: Date: Fri, 08 Oct 2004 13:20:08 +0000
Subject: Re: Sessions not destroyed
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-198952@lists.php.net to get a copy of this message
Hendrik Schmieder wrote:
Marek Kilimajer schrieb:
Hendrik Schmieder wrote:
Hello, we have a severe problem with seesions. We use Apache 1.3.31 with PHP 4.3.9 as Apache module in Windows 2000 In our php.ini we have session.gc_probability = 100
session.gc_dividend    = 100
Should be session.gc_divisor
OK , changed in php.ini, but no change in behaviour.
And you need to start at least one other session so that the first one gets cleared.
If you are right, then this is a severe design bug.
Depends on your point of view. It is a sideeffect of loading current session (and thus accessing it) before the session gc is called. So the question is, should the session module give up on current session just because it should have been garbaged, even if the session file still exists?

« previous php.general (#198952) next »