/ext/session session.c

From: Date: Mon, 07 Jan 2002 04:29:33 +0000
Subject: /ext/session session.c
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-76128@lists.php.net to get a copy of this message
There is yet another problem related to external session save handler modules...

It seems session_module_name() causes race and segfaults.
A user reported bug for mm save handler also. (I've noticed
the problem with pgsql save handler before the bug report, though)

Bug #14780

Here is again,

1) Simplest fix would be hard coded solution
2) Use semaphore to lock during session_module_name()
3) Others?

If I fix with 2), I probably make session.c does not compile
under Windows since I don't know Windows. I appreciate if someone
knows both UNIX and Windows could fix this bug.

Is there better solution for this?

FYI, 4.1.x requires session_module_name() to set external
session save handler. (i.e. Cannot set external save handler
in php.ini) ini_set() may work, but I haven't tried it yet.

-- 
Yasuo Ohgaki



Thread (11 messages)

« previous php.dev (#76128) next »