liran brener
|
Posted: 01/23/2003, 12:26 PM |
|
___________
Belive me I tried using the discussing groups, reading email, browsing the
web and so far nothing. The problem is that I can't redirect after the
headers are already send and that's making me a nightmares.
How can I redirect and keep all the session variables with their values????
I have changed the common.php redirect to :
// redirect url
function RedirectUrl($redirect_url)
{
if (!headers_sent())
{
header("Location: ".$redirect_url);
}
else
{
printf("\n<meta http-equiv=\"refresh\"
content=\"0;URL=".$redirect_url."\">\n");
}
}
?>
and the headers always been send so I can only use the meta tag.
And it's making my life a living hell ...
liran
liran@write-tec.com
_______________________________________________________ ICQ#: 205461326
Current ICQ status: + More ways to contact me
__________________________________________________________________
|
|
|
|