JJBlaha Posted March 4, 2007 Share Posted March 4, 2007 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 More sharing options...
JJBlaha Posted March 4, 2007 Author Share Posted March 4, 2007 Anyone know what's wrong? Link to comment https://forums.phpfreaks.com/topic/41146-sessions-and-subdomains/#findComment-199362 Share on other sites More sharing options...
Daniel0 Posted March 4, 2007 Share Posted March 4, 2007 Try to check your cookie path setting. Link to comment https://forums.phpfreaks.com/topic/41146-sessions-and-subdomains/#findComment-199369 Share on other sites More sharing options...
JJBlaha Posted March 4, 2007 Author Share Posted March 4, 2007 My cookie path setting is / Link to comment https://forums.phpfreaks.com/topic/41146-sessions-and-subdomains/#findComment-199371 Share on other sites More sharing options...
JJBlaha Posted March 5, 2007 Author Share Posted March 5, 2007 In addition including the line as I did in my first post makes the session fail to work in IE, but not firefox. Link to comment https://forums.phpfreaks.com/topic/41146-sessions-and-subdomains/#findComment-199496 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.