Re: PHP 4.0 Bug #9914 Updated: session_id loss with redirection via header() method

From: Date: Sun, 15 Apr 2001 18:01:30 +0000
Subject: Re: PHP 4.0 Bug #9914 Updated: session_id loss with redirection via header() method
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-51620@lists.php.net to get a copy of this message
I'd like to +1 this feature change request. AZ ----- Original Message ----- From: <sniper@php.net> Newsgroups: php.dev Sent: Thursday, March 22, 2001 8:09 AM Subject: [PHP-DEV] PHP 4.0 Bug #9914 Updated: session_id loss with redirection via header() method > ID: 9914 > Updated by: sniper > Reported By: royerj@free.fr > Old-Status: Open > Status: Analyzed > Old-Bug Type: *Session related > Bug Type: Documentation problem > Assigned To: > Comments: > > You're right, the session id is not added when doing redirects. You have to do it 'manually', with something > like this: > > header("Location: $url.'?$PHPSESSID'"); > > Reclassified as documentation problem. > Note: IIRC there's also feature/change request about this. > > --Jani > > > Previous Comments: > -------------------------------------------------------------------------- - > > [2001-03-22 05:53:27] royerj@free.fr > Althought the transient_id option is active, the session_id is lost after using the header() method in order to redirect to another script. > > > -------------------------------------------------------------------------- - > > > > ATTENTION! Do NOT reply to this email! > To reply, use the web interface found at http://bugs.php.net/?id=9914&edit=2 > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#51620) next »