Jump to content

Sessions and Subdomains


JJBlaha

Recommended Posts

I start a session in www.domain.com/folder and as long as I stay on www.domain.com everything works fine.  I want to carry the session over to sub.domain.com, but this is not working.  The .htaccess file contains the line

 

php_value session.cookie_domain “.domain.com”

 

In public_html, public_html/folder, and public_html/sub, but it will not work.

Link to comment
https://forums.phpfreaks.com/topic/41146-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.