Cardale Posted December 2, 2009 Share Posted December 2, 2009 I am using dyndns and apache. When a user visits my website using this url kinggoddard.com and logs in they set a session the traditional way with PHP, but if the user visits www.kinggoddard.com they don't have that session any more. How can I fix this issue? Is this even an apache issue? Thanks. Link to comment https://forums.phpfreaks.com/topic/183760-sessions-and-websites-with-www/ Share on other sites More sharing options...
corbin Posted December 2, 2009 Share Posted December 2, 2009 session_set_cookie_params You'll need to set the domain to kinggoddard.com or maybe ".kinggoddard.com" Link to comment https://forums.phpfreaks.com/topic/183760-sessions-and-websites-with-www/#findComment-970101 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.