Bug #4669 Updated: Need a session_end() ??

From: Date: Thu, 03 Jan 2002 03:00:38 +0000
Subject: Bug #4669 Updated: Need a session_end() ??
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-75734@lists.php.net to get a copy of this message
ID: 4669 Updated by: jimw Reported By: daniel.braun@ercom.fr Old Status: Open Status: Closed Bug Type: Feature/Change Request Operating System: Solaris 2.6 PHP Version: 4.0 Release Candidate 1 New Comment: session_write_close, added in 4.0.4, does this. Previous Comments: ------------------------------------------------------------------------ [2000-05-29 16:09:51] daniel.braun@ercom.fr May be I missed something, but 1/ session_start() will flock() the session file 2/ there is no way to unlock the file, except session_destroy(), but session_destroy() will unlink the session file (therefore session cannot be reused). My need is : user opens 2 web pages (both multipart/mixed, i.e. the scripts never end), none of them are changing the session variables, but both of them need their value. I therefore need a session_end() that does exactly the same job as session_destroy() except it does not call PS(mod)->destroy. (changes are in session.c and php_session.h) ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=4669&edit=1

« previous php.dev (#75734) next »