Welcome Guest, Not a member yet? Register   Sign In
Session across www and apps
#1

[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?
#2

[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";
#3

[eluser]InsiteFX[/eluser]
Also you will need to use the database sesions for persistence.

InsiteFX
#4

[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!
#5

[eluser]ClaudioX[/eluser]
How works the "cookie domain"?




Theme © iAndrew 2016 - Forum software by © MyBB