php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37615 session_is_persistent
Submitted: 2006-05-27 14:35 UTC Modified: 2006-06-01 14:11 UTC
From: elias at adaptiveinstance dot com Assigned:
Status: Wont fix Package: Session related
PHP Version: 5.1.4 OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: elias at adaptiveinstance dot com
New email:
PHP Version: OS:

 

 [2006-05-27 14:35 UTC] elias at adaptiveinstance dot com
Description:
------------
There is no reliable way to determine if the session has already been closed with session_write_close() or not. a function like session_is_persistent() would be needful to validate that changes to $_SESSION will be written.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-27 14:45 UTC] tony2001@php.net
There is also no way to determine if any other function has been called, but that doesn't mean we're going to add new functions for that.
 [2006-05-27 15:23 UTC] elias at adaptiveinstance dot com
thats not what's on my mind at all. i think adding an internal flag that tracks if session_write_close() was called isn't that hard.
 [2006-06-01 14:11 UTC] elias at adaptiveinstance dot com
its ok if there is in general no interest in this feature, but dismissing bugreports with half-assed answers isn't. so  give me a good reason why this shouldn't be possible or tell me there is no need/interest for this.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC