set/read user preferences in/from a cookie?
Posted: Thu Dec 15, 2005 7:22 pm
hi all,
my index page has two links. one link for the arabic section of the website, and another link for the english section of the website. when a user visits the page for the first time, he's gonna have to choose a language, but i don't want him to have to choose a language everytime he visits the website. that's why i want to store his preference in a cookie, so that next time he visits, i re-direct him automatically.
can someone give me instructions on how to do that? even high-level non-technical instructions are very much appreciated.
thanks,
my index page has two links. one link for the arabic section of the website, and another link for the english section of the website. when a user visits the page for the first time, he's gonna have to choose a language, but i don't want him to have to choose a language everytime he visits the website. that's why i want to store his preference in a cookie, so that next time he visits, i re-direct him automatically.
can someone give me instructions on how to do that? even high-level non-technical instructions are very much appreciated.
thanks,