php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #4669 Need a session_end() ??
Submitted: 2000-05-29 16:09 UTC Modified: 2002-01-02 22:00 UTC
From: daniel dot braun at ercom dot fr Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Release Candidate 1 OS: Solaris 2.6
Private report: No CVE-ID: None
 [2000-05-29 16:09 UTC] daniel dot braun at ercom dot 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)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-02 22:00 UTC] jimw@php.net
session_write_close, added in 4.0.4, does this.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 02:01:33 2024 UTC