Edit report at http://bugs.php.net/bug.php?id=53982&edit=1
ID: 53982 Updated by: [email protected] Reported by: webccdev2 at gmail dot com Summary: Session Values Lost after header redirection -Status: Open +Status: Feedback 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: Does it still fail if you transfer the session_id() in the query to the page you are redirecting to like: header('location: /test/?' . session_name() . '=' . session_id()); In either case, does it work as if written without the framework code, if not then you should report it to their tracker. Previous Comments: ------------------------------------------------------------------------ [2011-02-10 14:40:14] webccdev2 at gmail dot com 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. ------------------------------------------------------------------------ [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
