Jump to content

problem with cookie


newman

Recommended Posts

http://www.php.net/manual/en/function.setcookie.php

domain argument for setcookie: "To make the cookie available on all subdomains of example.com then you'd set it to '.example.com'. The . is not required but makes it compatible with more browsers. Setting it to www.example.com  will make the cookie only available in the www  subdomain"

so to make it work for everything, maybe try ".mydomain.com" as the domain argument in setcookie()
Link to comment
https://forums.phpfreaks.com/topic/19813-problem-with-cookie/#findComment-87053
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.