ID: 33055
Updated by: [EMAIL PROTECTED]
Reported By: b-bonini at cox dot net
-Status: Closed
+Status: Bogus
Bug Type: Session related
Operating System: FreeBSD 4.4
PHP Version: 5.0.3
New Comment:
No bug -> bogus.
Previous Comments:
------------------------------------------------------------------------
[2005-05-18 22:43:00] b-bonini at cox dot net
int(0) where zero is the number which is being incremented
now. I think this is my bust... I was expecting SID to
appear in the URL after a page refresh. But more
importantly, like with cookies, expecting the counter to
increment with each refresh but in fact apparently this is
not the case and a new SID is issued with each page
refresh thus continually setting the initial value to 0
and never incrementing the counter as it does using
cookies. So sorry to waste your time...
------------------------------------------------------------------------
[2005-05-18 20:54:14] [EMAIL PROTECTED]
What does this code output for you ?
<?
session_start();
var_dump($_SESSION['user_quotes']++);
?>
What if you try another browser, that doesn't require any "fixes" ?
------------------------------------------------------------------------
[2005-05-18 20:25:47] b-bonini at cox dot net
OK, apparently previous comment is irrelevant but
everything else still applies..
------------------------------------------------------------------------
[2005-05-18 18:34:42] b-bonini at cox dot net
Also: "*Note: SID changes with each browser refresh..."
IF COOKIES ARE OFF IN BROWSER...
------------------------------------------------------------------------
[2005-05-18 17:57:01] b-bonini at cox dot net
BTW: This seems consistant across a few different machines
I have all running FreeBSD 4.4
------------------------------------------------------------------------
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/33055
--
Edit this bug report at http://bugs.php.net/?id=33055&edit=1