#37615 [WFx]: session_is_persistent
ID: 37615
User updated by: elias at adaptiveinstance dot com
Reported By: elias at adaptiveinstance dot com
Status: Wont fix
Bug Type: Session related
Operating System: all
PHP Version: 5.1.4
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2006-05-27 15:23:03] 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-05-27 14:45:36] 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 14:35:44] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37615&edit=1
Thread (4 messages)