From:             narayan at oliveinternet dot com
Operating system: linux
PHP version:      4.3.2
PHP Bug Type:     Session related
Bug description:  session expires when page redirected to another php page in the same 
domain.

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 bug report at http://bugs.php.net/?id=24662&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24662&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24662&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24662&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24662&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24662&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24662&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24662&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24662&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24662&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24662&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24662&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24662&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24662&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24662&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24662&r=gnused

Reply via email to