|
Posted by amygdala on 08/10/07 18:07
First off: sorry about the empty posts people. I pushed accidentally pushed
the send button (twice :-S ).
"amygdala" <noreply@noreply.com> schreef in bericht
news:46bc9d79$0$25487$9a622dc7@news.kpnplanet.nl...
>
<snip (very useful info nonetheless :-) >
> $target = 'http://www.example.com';
> header("Location: $target");
> echo 'You're be redirected to '.$target.'. Click <a
> href="'.$target.'">here</a> if it doesn't work';
> exit; //<-----IMPORTANT!
>
Well whatta you know!! As soon as I put this suggestion of yours after the
header("Location: $target"); it works! And mind you, not necessarily the
exit() part, but the echo part!! How strange is that? I'm loosing all sense
of logic on this one.
Could it be that Opera needs some kind of body content after a redirection
header? Or could it perhaps be that Opera indeed thinks that it should
redirect back to the login page again, since it is redirected to a page,
that redirected to the login page in the first place. lol
In other words, does Opera cache the redirect? In that it has been there
before and remembers: I need to go to the login page, cause nothing has
seemed to change?
Eerrr, that was kind of what you said already wasn't it?
I'm gonna investigate this a little more, cause this doesn't make enough
sense to me yet.
But low and behold, I got it working. Thanks a bunch so far Rik! That made
my day!
Navigation:
[Reply to this message]
|