View Single Post
11-03-2010, 06:15 AM
Join Date: Feb 2008
I have a cookie being set but the page needs to be refreshed for the cookie to be written to the page? I have the set_cookie command in the header of my file (before html tags) but even though I've confirmed with the browser the cookie was set It does not write the cookie to the page. After hitting refresh, it is then written to the screen?
Anyone ever come across this? Is there a fix or some thing i'm doing wrong? I have 3 php files, header. php, results.php and footer.php. The form action is to results.php but that page includes the header.php file so shouldn't the cookie be set during the header.php load and then results.php write the cookie?
View Public Profile
Send a private message to gillweb
Find More Posts by gillweb