Jump to content

subdomains


corillo181

Recommended Posts

You need to set the session.cookie_domain.

 

From the cookie section of the php manual -

 

domain

The domain that the cookie is available. 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.

Link to comment
https://forums.phpfreaks.com/topic/105296-subdomains/#findComment-539247
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.