Welcome Guest, Not a member yet? Register   Sign In
session data depending on 'www.' in URL
#3

(07-28-2015, 02:56 PM)Diederik Wrote: The problem isn't with sessions but with cookies. The session id is stored inside a cookie. Cookie are by default linked to a single domain so they dont share data between domain.com and www.domain.com

Inside config.php you should set it like so (notice the dot before the domainname)
'cookie_domain'   = Set to .your-domain.com for site-wide cookies


This solved the problem. Great. Thank you.
Reply


Messages In This Thread
RE: session data depending on 'www.' in URL - by Ornis - 07-29-2015, 03:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB