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. Quote 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" Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.