Edit report at https://bugs.php.net/bug.php?id=27607&edit=1

 ID:                 27607
 Updated by:         yohg...@php.net
 Reported by:        vic...@php.net
 Summary:            Determine if session data is available before
                     running session_start()
 Status:             Open
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            *General Issues
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        yohgaki
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2004-03-15 10:21:09] vic...@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

Reply via email to