Bug #15110 Updated: session_start()
| From: | fabian at ahrberg dot se | Date: | Sat, 19 Jan 2002 13:03:12 +0000 |
| Subject: | Bug #15110 Updated: session_start() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-77516@lists.php.net to get a copy of this message | ||
ID: 15110
Comment by: fabian@ahrberg.se
Reported By: fabian@ahrberg.se
Status: Feedback
Bug Type: Session related
Operating System: Linux
PHP Version: 4.1.1
New Comment:
Register_globals is on.
This is what it used to be:
session_start() registered the session so I could see it even if it's
included no data(no registered variables). When I say see, I mean that
if i looked in the table I use for writeing the seesions I saw the key,
the expiry and no value.
NOW:
session_start() gives the visitor a key but it doesn't register the key
in my sessions teable unless I register a variable to the session.
A bit clearer?
Previous Comments:
------------------------------------------------------------------------
[2002-01-18 22:19:00] yohgaki@php.net
What do you mean "no value"?
Empty string? NULL? FALSE?
Are you using $HTTP_SESSION_VARS/$_SESSION? or globals?
Is register_globals on?
------------------------------------------------------------------------
[2002-01-18 21:34:18] fabian@ahrberg.se
Apache
session_start() doesn't save the session unless it holds any data. I've
just upgraded from 4.0.4pl1. It used to register all session even if
they only included a key and no value(data). Maybe it's a feature but
it sure messes my stats-scripts... =/
Get back to me with what you need.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=15110&edit=1