Hi.
I have multi-language functionality on my page, and the settings are saved in a cookie, so that the user may change something different than his browser language.
But this is whats happening:
/home.php?setlanguague=en
The page shows it's text in English, and prints my user info aswell as the content of the language cookie, which is "en".
/admin/users.php
The page shows in my browser language. Meaning the set language from /home.php haven't persisted.
/home.php
The page still shows in English.
So basically as I navigate around my site, as soon as the page is in another dir, the cookie is unique for that dir.
Hope this explanation is possible to understand.
So, why does this happen? I thought cookies were domain specific?
How do I solve this? Links are fine.