Jump to content

Sessions and subdomains


hannibal

Recommended Posts

Hi,

 

I have https://domain.co.uk. If a user logs in and creates a session, when they are forwarded to http://www.domain.co.uk, the session is not accessible (i.e. cannot read what was set).

 

However, https://www.domain.co.uk which forwards to http://www.domain.co.uk allows the session to be read (same domain).

 

Any one know how I can read sessions from a subdomain?

 

Thanks,

 

H.

Link to comment
https://forums.phpfreaks.com/topic/95365-sessions-and-subdomains/
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.