Bug #16349 Updated: no way to tell if a session exists without starting it
| From: | sniper@php.net | Date: | Wed, 03 Apr 2002 13:29:50 +0000 |
| Subject: | Bug #16349 Updated: no way to tell if a session exists without starting it | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-3909@lists.php.net to get a copy of this message | ||
ID: 16349
Updated by: sniper@php.net
Reported By: adam@adeptsoftware.com
-Status: Open
+Status: Bogus
-Bug Type: *General Issues
+Bug Type: Session related
Operating System: WinXP
PHP Version: 4.1.2
New Comment:
This is still session related.
Ask on php-general@lists.php.net as this is not bug.
The PHP manual also has lot information about how sessions
are supposed to be used.
Previous Comments:
------------------------------------------------------------------------
[2002-04-02 16:33:31] adam@adeptsoftware.com
Is anybody looking at these?
Moved from session category due to lack of response
------------------------------------------------------------------------
[2002-03-29 13:25:38] adam@adeptsoftware.com
There is no way, that I can see, of knowing if a session exists before
starting it.
I am trying to destroy a session, but only if it already exists. If it
doesn't, I basically have to create it then destroy it. The problem,
besides this being lame, is the browser can pop up a box asking the
user if they want to accept a session cookie, when I am not even trying
to start a session.
It might be better if session_destroy just didn't require the session
to be started.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16349&edit=1