Jump to content

PHP Cookie Tip in Safari


phpknight

Recommended Posts

Hi all,

 

I just resolved an issue that seems unique to Safari and thought I would post it on this PHP board.  The symptoms seem like a PHP header issue, but it really isn't.  Hopefully it will save somebody trouble.

 

If you use cookies, make sure you have the URL exactly the same everywhere.  I had something like www.mysite.com in the insecure and www.MySite.com on the secure.  It works fine in all the other browers, but Safari was seeing these as two different sites, and therefore it was causing issues with the cart.  Luckily, somebody called me that was having a problem, or I might not have ever known.  I usually only test in IE and Firefox.

Link to comment
https://forums.phpfreaks.com/topic/131446-php-cookie-tip-in-safari/
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.