Req #27607 [Fbk->NoF]: Determine if session data is available before running session_start()
| From: | php-bugs at lists dot php dot net | Date: | Tue, 15 Oct 2013 11:54:24 +0000 |
| Subject: | Req #27607 [Fbk->NoF]: Determine if session data is available before running session_start() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-182158@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=27607&edit=1
ID: 27607
Updated by: php-bugs@lists.php.net
Reported by: victor@php.net
Summary: Determine if session data is available before running
session_start()
-Status: Feedback
+Status: No Feedback
Type: Feature/Change Request
Package: *General Issues
PHP Version: Irrelevant
Assigned To: yohgaki
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2013-08-07 08:59:56] yohgaki@php.net
W/o strict session patch, this would be useful. With strict session patch, I
cannot imagine use cases. Could you give some?
------------------------------------------------------------------------
[2013-06-27 09:26:05] yohgaki@php.net
If strict session patch is merged. It has function check session data
availability to check session id collision. This can be easily implemented with
it.
------------------------------------------------------------------------
[2004-03-15 10:21:09] victor@php.net
Description:
------------
Sometimes it is good to be able to determine if there is session data available before running
session_start(), but if there isn't, you don't want to start a session. A session takes
resources and giving a cookie to a user is in some cases something you only want to do if really
necessary. Here in Sweden we aren't allowed to use cookies without giving the user knowledge in
what we are storing in it.
so a session_is_available() or similar would be a good thing IMHO.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=27607&edit=1