#16349 [Com]: no way to tell if a session exists without starting it

From: Date: Tue, 03 Dec 2002 21:37:01 +0000
Subject: #16349 [Com]: 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-26565@lists.php.net to get a copy of this message
ID: 16349 Comment by: powerblade@mail.dk Reported By: adam@adeptsoftware.com Status: Suspended Bug Type: Feature/Change Request Operating System: WinXP PHP Version: 4.1.2 New Comment: I had the same problem. I wanted to knew if the session was started or not. I found out i should do a session_id(); If it returns "null" then it's not started yet, else it returns the session id. Previous Comments: ------------------------------------------------------------------------ [2002-04-14 16:17:06] adam@adeptsoftware.com Why is this suspended? ------------------------------------------------------------------------ [2002-04-03 12:02:03] adam@adeptsoftware.com Heh when I think bug I think "flaw", I don't consider basic functionality to be a feature. Knowing if a session has been created or not without having to create one seems pretty basic to me.. ------------------------------------------------------------------------ [2002-04-03 11:57:46] rasmus@php.net I don't know, I am pretty good at having bugs even in stuff I haven't implemented yet. ------------------------------------------------------------------------ [2002-04-03 11:48:19] derick@php.net If it isn't implemented, there can't be a bug in it. Moving this to a feature request. Derick ------------------------------------------------------------------------ [2002-04-03 11:47:04] adam@adeptsoftware.com This is a bug, or missing essential feature if you prefer. There is no question to ask, other than why has noone implemented this. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16349 -- Edit this bug report at http://bugs.php.net/?id=16349&edit=1

« previous php.bugs (#26565) next »