Welcome Guest, Not a member yet? Register   Sign In
Sessions across two, or more, sites
#1

[eluser]DephNet[Paul][/eluser]
Hi Guys,

I am developing a couple of applications, that will be on different sub domains under the main domain, and was wondering if sessions, using the CI session library, can span more than one sub domain, say my.domain.tld, forums.domain.tld and status.domain.tld?

--Paul
#2

[eluser]bubbafoley[/eluser]
that shouldn't be a problem as long you set your cookie domain to '.domain.tld' in config.php

Code:
$config['cookie_domain']    = ".domain.tld";




Theme © iAndrew 2016 - Forum software by © MyBB