Bug #53982 [Opn]: Session Values Lost after header redirection
| From: | webccdev2 at gmail dot com | Date: | Thu, 10 Feb 2011 13:40:14 +0000 |
| Subject: | Bug #53982 [Opn]: Session Values Lost after header redirection | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-158672@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53982&edit=1
ID: 53982
User updated by: webccdev2 at gmail dot com
Reported by: webccdev2 at gmail dot com
Summary: Session Values Lost after header redirection
Status: Open
Type: Bug
Package: Session related
Operating System: Windows Server 2003 s2
PHP Version: 5.2SVN-2011-02-10 (snap)
Block user comment: N
Private report: N
New Comment:
I used all the possibilities which is given in this site and some other
sites like session_write_close(), java script & meta redirection etc.,
Here my question is, the same code is working fine in PHP 5.2.1 & 5.2.2
why not in 5.2.14. There is no browser, cookie, HTTP issues. Then why?
can anyone help me to fix this issue. It will helpful for most of the
Web developers.
Thanks in Advance.
Previous Comments:
------------------------------------------------------------------------
[2011-02-10 14:33:24] webccdev2 at gmail dot com
Description:
------------
Hi,
I'm having the session related problem for last one week. I'm using
prado framework. It is a normal log in mechanism code. After the
successful log in it redirects to my account page. Before redirection
all the session values are stored correctly after the redirection (using
header) all the session values are automatically made as null. I used
all kind of redirection like javascript (window.location), meta
(refresh). But i dint get any success.
Note:
Currently I'm working in PHP 5.2.14, Apache 2.2.8. But the same code
working fine in PHP 5.2.1 & 5.2.2 with same apache version.
I used Firefox 3.6.12 & IE 7, both have the same issue.
Expected result:
----------------
After Redirection all session values should carry the values to my
account page
Actual result:
--------------
All session values are null.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53982&edit=1