thosecars82 Posted May 23, 2008 Share Posted May 23, 2008 hello there I am creating a cookie with php which actually does exist because I can check it in the opera browser for example:tools-preferences-advanced-cookies-manage cookies. The cookie does not get saved for next time I open the browser though. Do you know how to fix this? The example is for a cookie which remembers the language in www.metatradersoftware.com. May be you can check with your browsers what I mean. Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/106911-solved-cookie-does-not-get-saved/ Share on other sites More sharing options...
DarkWater Posted May 23, 2008 Share Posted May 23, 2008 1) I dislike tacky green layouts, sorry. =( 2) Warning: Cannot modify header information - headers already sent by (output started at /home/www/metatradersoftware.com/anexos/header.php:3) in /home/www/metatradersoftware.com/anexos/header.php on line 26 Check that out. Quote Link to comment https://forums.phpfreaks.com/topic/106911-solved-cookie-does-not-get-saved/#findComment-547976 Share on other sites More sharing options...
thosecars82 Posted May 23, 2008 Author Share Posted May 23, 2008 Well, that warning message has just come out because I have included the function setcookie to put an expiration time to the cookie just in case that was the reason why the cookie was not being saved. Nevertheless, I do not have any idea about how to avoid that this function setcookie throw this warning message. Does anybody know? Quote Link to comment https://forums.phpfreaks.com/topic/106911-solved-cookie-does-not-get-saved/#findComment-547978 Share on other sites More sharing options...
thosecars82 Posted May 23, 2008 Author Share Posted May 23, 2008 1) I dislike tacky green layouts, sorry. =( 2) Warning: Cannot modify header information - headers already sent by (output started at /home/www/metatradersoftware.com/anexos/header.php:3) in /home/www/metatradersoftware.com/anexos/header.php on line 26 Check that out. Thanks for the first comment, actually I kind of agree with you. Quote Link to comment https://forums.phpfreaks.com/topic/106911-solved-cookie-does-not-get-saved/#findComment-547994 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.