[isf-wifidog] Problem with locales ...

Mina Naguib webmaster at topfx.com
Jeu 28 Avr 16:45:40 EDT 2005

Hash: SHA1

> I'm having trouble fixing a bug regarding locales. On my dev server it
> works perfectly. But on the auth server it seems like it won't save my
> preferred language to the session... What's wrong ? Can anybody have a
> look. I really have to finish the Pattern language and don't have too much
> time to spend on this stupid bug. It must very very stupid ( something
> related to sessions I guess )....

This has been around forever.

If you jump from the auth server to www.ilesansfil.org and set your
language there (which sets the "lang" cookie on the entire domain
".ilesansfil.org") then hop back to auth.ilesansfil.org, it'll respect
your newly-selected language.

I haven't dabbled into the auth server code, but where does it decide on
the locale ?  From a session or does it set a cookie ? If it sets a
cookie, is it on the hostname or the entire domain ?

If it's a hybrid of both cookies and session then that might explain why
it works on your dev machine (not in the .ilesansfil.org domain) and auth
(in the .ilesansfil.org domain which gets fed the cookie set by www.)

Version: GnuPG v1.4.1 (GNU/Linux)


Plus d'informations sur la liste de diffusion WiFiDog