Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.