RE: [PHP] Quickie

From: Date: Sat, 22 Sep 2001 09:48:45 +0000
Subject: RE: [PHP] Quickie
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68311@lists.php.net to get a copy of this message
Read chapter: LXXVIII. Session handling functions Niklas -----Original Message----- From: Peter [mailto:php_guy@visors.com.hk] Sent: 22. syyskuuta 2001 8:19 To: Stig.Orjan.Smelror@lincom.no Cc: php-general@lists.php.net Subject: RE: [PHP] Quickie Hi, I am trying to redirect the user to another page after user authentication and using sessions. I was wondering how do you redirect to another page and then at the same use pass the session ID over to that other page. Thanks. Peter On Fri, 21 Sep 2001, [iso-8859-1] Stig-Ørjan Smelror wrote: > > If nothing is beeing sent to output on the page then use header() else > > you need to use javascript. > > > > > > Niklas > > > > <meta http-equiv="Refresh"; Content="0; URL=file.php"> > if headers are sent. > > Use header( "Location: file.php" ), as noted earlier, if no headers are sent. > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#68311) next »