#31761 [Opn->Bgs]: header redirect does not carry session value
| From: | rasmus@php.net | Date: | Sun, 30 Jan 2005 04:21:43 +0000 |
| Subject: | #31761 [Opn->Bgs]: header redirect does not carry session value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73060@lists.php.net to get a copy of this message | ||
ID: 31761
Updated by: rasmus@php.net
Reported By: drumbeaterz at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: WinXP
PHP Version: 4.3.9
New Comment:
Sorry, this is not the place for support questions. Ask on the mailing
list please.
Previous Comments:
------------------------------------------------------------------------
[2005-01-30 04:38:56] drumbeaterz at yahoo dot com
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 this bug report at http://bugs.php.net/?id=31761&edit=1