Jump to content

SetCookie with IE


FredAt

Recommended Posts

I have just discovered that the cookie I am attempting to set via a PHP script is not being set in IE6 - and perhaps in IE7.  It all works just fine when I test from localhost but not when my site goes live.  I have come across all kinds of explanations for this - including one rather garbled one about the need for at least two .s in the url.  I use a rather exotic TLD - not one of the generics such as .com.

 

Is there anything I can do at the PHP end to make things work the way they should?  Are there any in-depth discussions of this issue I could read up on?  I would much appreciate any help.

Link to comment
https://forums.phpfreaks.com/topic/96029-setcookie-with-ie/
Share on other sites

Sometimes IE will automatically reject cookies when its security settings are set at certain levels.  Check your security settings for IE if you haven't already as fixing that is the easiest solution.  Also, if the cookie is a third party cookie the security settings have to be set even lower unless you provide a P3P (peer privacy policy I think).

 

Other than that I can not help you much.

Link to comment
https://forums.phpfreaks.com/topic/96029-setcookie-with-ie/#findComment-491635
Share on other sites

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.