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

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?


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

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

Theme © iAndrew 2016 - Forum software by © MyBB