• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sessions and subdomains

Hi all I have a quick question, I currently set up a very simple login/members area using the session class.
I'm also using a sub domain as a flag to switch between languages. For example, mywebsite.com automatically loads everything in the english language, however if I point my browser spanish.mywebsite.com it triggers everything to fetch the respective spanish language files ( also within code igniter.. so there is only one controller/view page per page, all the language switching is done with the codeigniter language folder). My problem is that when I log in either through the mywebsite.com or spanish.mywebsite.com/ the session does not allow me to switch between languages without requesting me to login again.
Is the cookie that is created by the session class use URL data to validate it self or do you guys think it is a bug in my code or perhaps code igniters code? Smile thank you in advance

Messages In This Thread
sessions and subdomains - by El Forum - 07-12-2012, 06:58 PM
sessions and subdomains - by El Forum - 07-12-2012, 07:45 PM
sessions and subdomains - by El Forum - 07-12-2012, 07:52 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.