#24662 [Opn]: session expires when page redirected to another php page in the same domain.
| From: | narayan at oliveinternet dot com | Date: | Tue, 15 Jul 2003 11:10:01 +0000 |
| Subject: | #24662 [Opn]: session expires when page redirected to another php page in the same domain. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-44029@lists.php.net to get a copy of this message | ||
ID: 24662
User updated by: narayan at oliveinternet dot com
Reported By: narayan at oliveinternet dot com
Status: Open
Bug Type: Session related
Operating System: linux
PHP Version: 4.3.2
New Comment:
My PHP Version is 4.1.2
Previous Comments:
------------------------------------------------------------------------
[2003-07-15 06:08:00] narayan at oliveinternet dot com
Description:
------------
I have two following scripts.... in t1.php i register session and
t2.php i retrieve session.
In my development server its working fine and i am getting value = 1000
but in the production server value is not coming.
// t1.php
<?php
session_start();
session_register("SS_X");
$SS_X=1000;
header("location: t2.php");
?>
//t2.php
<?php
session_start();
echo $SS_X;
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24662&edit=1