06-29-2005, 08:25 AM
i have made a session based redirection ie when the authentication is valid then it redirects to the certian page.when i used the header("Location:target.php");
it shows header already sent by......problems .then i used HTML redirection(using meta tags)then the page redirects but its shows the same "header already sent by..." message in intermediate form(ie when the page is Loading)..wht's the problem i m not gettin Please Help
06-29-2005, 08:36 AM
the code seems correct, do you have a link to the page? Some things that might cause this are some type of security software. NIS2005 does this sometimes.
06-29-2005, 08:37 AM
Try putting an absolute path for Location:.
06-29-2005, 08:38 AM
That error means you have output something to the browser before redirecting. Post all your code for more help.
06-29-2005, 09:59 AM
the code is seems correct but the problem is in your php.ini configuration .
In the PHP.ini file you must set the variable output_buffering
[output_buffering = on]
and then the code will run
06-29-2005, 01:49 PM
I do this sometimes when I don;t feel like dealing with session/header/buffer issues....
06-30-2005, 10:43 AM
thnks all of u for helping me