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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: daniel dot braun at ercom dot fr
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 16:01:38 2025 UTC