CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Redirect problem. please help ....

Print topic Send  topic

Author Message
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
__________________________________________________________________


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.