note 45922 deleted from function.session-id by nlopess
| From: | nlopess@php.net | Date: | Thu, 23 Sep 2004 17:17:24 +0000 |
| Subject: | note 45922 deleted from function.session-id by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77252@lists.php.net to get a copy of this message | ||
Note Submitter: phoenixflames at gmail dot com
----
The
if (! session_id )
{
session_start();
print "new session started";
}
else
{
print "session exists";
}
doesn't seem to be working properly. No matter how many times the code executes, I get
"new session started", even though the session id returned from a subsequent cal to
session_id is the exact same one from previous requests.
Can someone help me?