Jump to content

[SOLVED] cookie does not get saved


thosecars82

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/106911-solved-cookie-does-not-get-saved/
Share on other sites

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.

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?

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.