#37615 [WFx]: session_is_persistent

From: Date: Thu, 01 Jun 2006 14:11:25 +0000
Subject: #37615 [WFx]: session_is_persistent
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-97927@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#97927) next »