#31761 [NEW]: header redirect does not carry session value
| From: | drumbeaterz at yahoo dot com | Date: | Sun, 30 Jan 2005 03:38:57 +0000 |
| Subject: | #31761 [NEW]: header redirect does not carry session value | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-73059@lists.php.net to get a copy of this message | ||
From: drumbeaterz at yahoo dot com
Operating system: WinXP
PHP version: 4.3.9
PHP Bug Type: Session related
Bug description: header redirect does not carry session value
Description:
------------
Hi
I AM TRYING TO AUTHENTICATE A USER FROM THE MYSQL DATABASE AND AFTER LOGIN
PASSWORD IS CORRECT I USE A QUERY TO RETRIEVE SOME USER INFO AND STORE THEM
IN SEPERATE SESSION IDs. NOW I NEED THE PAGE TO GET REDIRECTED TO ANOTHER
PAGE AND CARRY THE SESSION ID VALUES WITH IT. IF I USE
HEADER (LOCATION:" "); THE PAGE IS REDIRECTED BUT THE SESSION VALUES ARE
NOT CARRIED FORWARD. INSTEAD IF I GIVE A href THEN THE SESSION VALUES ARE
CARRIED TO THE NEXT PAGE WHERE THE VALUES CAN TO USED TO RETRIEVE MORE
INFORMATION FROM ANOTHER TABLE IN THE DATABASE TO FILL A LIST BOX.
CAN ANYONE HELP. I AM NEW TO PHP AND DUNNO IF WHAT I HAVE EXPLAINED IS
GOOD ENOUGH TO SUGGEST SOMETHING.
REGARDS
--
Edit bug report at http://bugs.php.net/?id=31761&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31761&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31761&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31761&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31761&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31761&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31761&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31761&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31761&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31761&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31761&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31761&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31761&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31761&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31761&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31761&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31761&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31761&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31761&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31761&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31761&r=mysqlcfg