ID:               33055
 User updated by:  b-bonini at cox dot net
 Reported By:      b-bonini at cox dot net
-Status:           Feedback
+Status:           Closed
 Bug Type:         Session related
 Operating System: FreeBSD 4.4
 PHP Version:      5.0.3
 New Comment:

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...


Previous Comments:
------------------------------------------------------------------------

[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

------------------------------------------------------------------------

[2005-05-18 17:54:37] b-bonini at cox dot net

Installed latest CVS per previous comment: 
/php5-STABLE-200505181440 (PHP Version 5.0.5-dev) 
 
- Same behaviour as originally cited. 
- Same URL's still apply. 
- added: http://gfx.gfx-design.com/session_test.php 
*Note: SID changes with each browser refresh...

------------------------------------------------------------------------

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

Reply via email to