#21416 [NEW]: Session variables timeout prematurely

2003-01-04 Thread maladil
From: [EMAIL PROTECTED]
Operating system: Redhat 7.3
PHP version:  4.2.1
PHP Bug Type: Session related
Bug description:  Session variables timeout prematurely

I am having problems getting simple $_SESSION[] variable to go from one
page to the next.  I have created an extremely stripped down version of
the rest of my code and it can be reached at
http://gcfc.net/testsite1/docs/misc/one.php

our php and server settings are here
http://gcfc.net/testsite1/debug.php

Simply put, one.php sets a session variable.  two.php and three.php simply
check to see if that session variable is set.  If you go from one.php to
two.php and wait for 60 seconds then the session variable is no longer
present, but the session id is still intact.  This happens on IE and
Netscape.  

I have included my code below for the first 2
pages...

?php
//one.php
session_start();
$_SESSION['person']=Bob;
?
htmlheadtitleSession Test page 1/title/head
body
h1You are at page 1/h1
br
a href=two.phpPage 2/abr
a href=three.phpPage 3/a
brSession variable person is 
?php echo $_SESSION['person']; ?
brSession ID = ?php echo session_id(); ?

/body
/html


?php session_start(); ?
htmlheadtitleSession Test page 2/title/headbody
h1You are at page 2/h1br
a href=one.phpPage 1/abr
a href=three.phpPage 3/abr
a href=four.phpPage 4, briefly/a
brSession variable person is 
?php echo $_SESSION['person']; ?
brSession ID = ?php echo session_id(); ?
/body
/html


Thanks
Jason
[EMAIL PROTECTED]
-- 
Edit bug report at http://bugs.php.net/?id=21416edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21416r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=21416r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=21416r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21416r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=21416r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=21416r=support
Expected behavior:  http://bugs.php.net/fix.php?id=21416r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=21416r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=21416r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=21416r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21416r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=21416r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=21416r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=21416r=gnused




#21416 [Com]: Session variables timeout prematurely

2003-01-04 Thread maladil
 ID:   21416
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Session related
 Operating System: Redhat 7.3
 PHP Version:  4.2.1
 New Comment:

I suggest copying the link into your browser to check this out.  I
clicked on the link from the ticket and the $_SESSION variable won't
appear on any page but one.php, however if you copy the link into the
browser then you can still see the variable for about 45 seconds until
it seems to time out.
Thanks,
Jason


Previous Comments:


[2003-01-04 14:50:52] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip





[2003-01-04 14:44:29] [EMAIL PROTECTED]

I am having problems getting simple $_SESSION[] variable to go from one
page to the next.  I have created an extremely stripped down version of
the rest of my code and it can be reached at
http://gcfc.net/testsite1/docs/misc/one.php

our php and server settings are here
http://gcfc.net/testsite1/debug.php

Simply put, one.php sets a session variable.  two.php and three.php
simply check to see if that session variable is set.  If you go from
one.php to two.php and wait for 60 seconds then the session variable is
no longer present, but the session id is still intact.  This happens on
IE and Netscape.  

I have included my code below for the first 2
pages...

?php
//one.php
session_start();
$_SESSION['person']=Bob;
?
htmlheadtitleSession Test page 1/title/head
body
h1You are at page 1/h1
br
a href=two.phpPage 2/abr
a href=three.phpPage 3/a
brSession variable person is 
?php echo $_SESSION['person']; ?
brSession ID = ?php echo session_id(); ?

/body
/html


?php session_start(); ?
htmlheadtitleSession Test page 2/title/headbody
h1You are at page 2/h1br
a href=one.phpPage 1/abr
a href=three.phpPage 3/abr
a href=four.phpPage 4, briefly/a
brSession variable person is 
?php echo $_SESSION['person']; ?
brSession ID = ?php echo session_id(); ?
/body
/html


Thanks
Jason
[EMAIL PROTECTED]




-- 
Edit this bug report at http://bugs.php.net/?id=21416edit=1




#21416 [Com]: Session variables timeout prematurely

2003-01-04 Thread maladil
 ID:   21416
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Session related
 Operating System: Redhat 7.3
 PHP Version:  4.2.1
 New Comment:

I am not able to upgrade to a newer version of php.  I have contacted
our host to do so, but they are not going to for some reason.
Thanks,
Jason


Previous Comments:


[2003-01-04 14:54:46] [EMAIL PROTECTED]

I suggest copying the link into your browser to check this out.  I
clicked on the link from the ticket and the $_SESSION variable won't
appear on any page but one.php, however if you copy the link into the
browser then you can still see the variable for about 45 seconds until
it seems to time out.
Thanks,
Jason



[2003-01-04 14:50:52] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip





[2003-01-04 14:44:29] [EMAIL PROTECTED]

I am having problems getting simple $_SESSION[] variable to go from one
page to the next.  I have created an extremely stripped down version of
the rest of my code and it can be reached at
http://gcfc.net/testsite1/docs/misc/one.php

our php and server settings are here
http://gcfc.net/testsite1/debug.php

Simply put, one.php sets a session variable.  two.php and three.php
simply check to see if that session variable is set.  If you go from
one.php to two.php and wait for 60 seconds then the session variable is
no longer present, but the session id is still intact.  This happens on
IE and Netscape.  

I have included my code below for the first 2
pages...

?php
//one.php
session_start();
$_SESSION['person']=Bob;
?
htmlheadtitleSession Test page 1/title/head
body
h1You are at page 1/h1
br
a href=two.phpPage 2/abr
a href=three.phpPage 3/a
brSession variable person is 
?php echo $_SESSION['person']; ?
brSession ID = ?php echo session_id(); ?

/body
/html


?php session_start(); ?
htmlheadtitleSession Test page 2/title/headbody
h1You are at page 2/h1br
a href=one.phpPage 1/abr
a href=three.phpPage 3/abr
a href=four.phpPage 4, briefly/a
brSession variable person is 
?php echo $_SESSION['person']; ?
brSession ID = ?php echo session_id(); ?
/body
/html


Thanks
Jason
[EMAIL PROTECTED]




-- 
Edit this bug report at http://bugs.php.net/?id=21416edit=1




#21416 [Opn]: Session variables timeout prematurely

2003-01-04 Thread maladil
 ID:   21416
 User updated by:  [EMAIL PROTECTED]
-Reported By:  [EMAIL PROTECTED]
+Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Session related
 Operating System: Redhat 7.3
 PHP Version:  4.2.1
 New Comment:

my email address was wrong, sorry.

I have tried to persuade my host, but they will not budge, so what can
I do in the mean time as a work around?

[EMAIL PROTECTED]


Previous Comments:


[2003-01-04 15:04:13] [EMAIL PROTECTED]

Well I can verify your bug but it has probably been fixed in PHP4.3.0.
So you should really ask your host to really do it.

Thank you.



[2003-01-04 15:00:14] [EMAIL PROTECTED]

I am not able to upgrade to a newer version of php.  I have contacted
our host to do so, but they are not going to for some reason.
Thanks,
Jason



[2003-01-04 14:54:46] [EMAIL PROTECTED]

I suggest copying the link into your browser to check this out.  I
clicked on the link from the ticket and the $_SESSION variable won't
appear on any page but one.php, however if you copy the link into the
browser then you can still see the variable for about 45 seconds until
it seems to time out.
Thanks,
Jason



[2003-01-04 14:50:52] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip





[2003-01-04 14:44:29] [EMAIL PROTECTED]

I am having problems getting simple $_SESSION[] variable to go from one
page to the next.  I have created an extremely stripped down version of
the rest of my code and it can be reached at
http://gcfc.net/testsite1/docs/misc/one.php

our php and server settings are here
http://gcfc.net/testsite1/debug.php

Simply put, one.php sets a session variable.  two.php and three.php
simply check to see if that session variable is set.  If you go from
one.php to two.php and wait for 60 seconds then the session variable is
no longer present, but the session id is still intact.  This happens on
IE and Netscape.  

I have included my code below for the first 2
pages...

?php
//one.php
session_start();
$_SESSION['person']=Bob;
?
htmlheadtitleSession Test page 1/title/head
body
h1You are at page 1/h1
br
a href=two.phpPage 2/abr
a href=three.phpPage 3/a
brSession variable person is 
?php echo $_SESSION['person']; ?
brSession ID = ?php echo session_id(); ?

/body
/html


?php session_start(); ?
htmlheadtitleSession Test page 2/title/headbody
h1You are at page 2/h1br
a href=one.phpPage 1/abr
a href=three.phpPage 3/abr
a href=four.phpPage 4, briefly/a
brSession variable person is 
?php echo $_SESSION['person']; ?
brSession ID = ?php echo session_id(); ?
/body
/html


Thanks
Jason
[EMAIL PROTECTED]




-- 
Edit this bug report at http://bugs.php.net/?id=21416edit=1