Session across www and apps |
[eluser]R_Nelson[/eluser]
i have www.mysite.com and apps.mysite.com how do i get the session on the apps.mysite.com is there something i have to set in both CI's or in one or something?
[eluser]toopay[/eluser]
Is that same app or different app? For sub-domain session/cookies abilities, you may want to set Code: config['cookie_domain'] = ".mysite.com";
[eluser]InsiteFX[/eluser]
Also you will need to use the database sesions for persistence. InsiteFX
[eluser]R_Nelson[/eluser]
no i made a fresh install of CI for apps and i do use the DB i'll make sure both sites have the cookie domain set and see what happens!
|
Welcome Guest, Not a member yet? Register Sign In |