Posted by Ulf Kadner on 08/16/07 16:02
isynclere@hotmail.com wrote:
> sorry guys, yes every page has session_start() at the top.
> redirect done with meta refresh.
Better to send a location header for redirecting.
header('Location: http://example.com/whatever.php');
exit; // exit is important here!
But remember: header can only be send if nothing is outputet before!
see => http://php.net/header
Also important:
Check if useragent has cokkies enabled. If not, prepend the session id
to your redirection URL. (Hint: You can use the constant SID)
Ulf
--
_,
_(_p> Ulf [Kado] Kadner
\<_) Mitglied der Freizeitvögel? ;-)
^^
Navigation:
[Reply to this message]
|