ID: 8809
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Status: Open
Old-Bug Type: Scripting Engine problem
Bug Type: Feature/Change Request
Assigned To: 
Comments:



Previous Comments:
---------------------------------------------------------------------------

[2001-01-19 14:44:53] [EMAIL PROTECTED]
I have code like:

session_start();
if ( !isset( $Foo ) )
{
        session_register( "Foo" );
}
else
{
 print( $Foo );
}

Header( "Location: /index.php" );

This does not work with cookieless sessions because the session information is not 
added to the header() if it's a redirect. 

The header() should add the PHPSESSIONID variable to the redirection path if it 
contains "Location: " like it does with other URLS and forms.





---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=8809


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to