Forums / Developer / Multilanguage login problem
Albert Hornos
Thursday 09 February 2006 2:22:20 am
Hi, I've made a multilanguage site. My problem is that when I'm login at this site and I change the language I miss the login info and I should login again.Could anyone help me?
Thanks
Peter Lachký
Wednesday 15 February 2006 11:06:42 am
The same happens to me... Any suggestions?
J-A Eberhard
Wednesday 15 February 2006 12:56:37 pm
Hi,If you manage your languages as siteaccess, I believe than changing siteaccess need that you have a new login.
Open Source Solution Provider Open-Net Ltd Switzerland http://www.open-net.ch
Thomas Nunninger
Thursday 16 February 2006 12:25:02 am
Hi,
the session name is composed including the siteaccess. Have a first look in site.ini:
[Session] # Decides how the name of the session value is handled. # Possible values are: # default - Let PHP decide the session name, this also rules # out the possiblity for per-siteaccess sessions. # custom - Use SessionNamePrefix for name. per-siteaccess sessions are possible. SessionNameHandler=default # Whether the session name should be unique per siteaccess. # By enabling this you will be able to get one unique login per siteaccess. # Note: Will only work if SessionNameHandler is set to custom SessionNamePerSiteAccess=enabled
In override/site.ini the SessionNameHandler is set to custom.
Have a nice day
Thomas
Jon Staines
Tuesday 04 April 2006 3:20:34 am
Just what I was looking for, and it works too.
Thanks.