Hi,

I have a page that checks to see if a session exists and if so does a server side 
redirect - i tired using header("Location: membersArea.php"); but I got an error about 
headers already sent, guess this is because I have already output html before this php 
command. So I tried include ("membersArea.php"); this kind of worked but because I am 
using php includes for my website header and footer I got strange results when the 
webpage was rendered. Therefor I used echo "<META HTTP-EQUIV=\"refresh\" 
content=\"0;URL=membersArea.php\">"; This works but are there any drawbacks? i.e. is 
there a more elegant way to deal with my situation? Is this method supported by all 
browsers etc..

Cheers.

Matt

Reply via email to