Forum Moderators: phranque

Message Too Old, No Replies

How do I set a cookie for remember language?

In html is possible?

         

silverbytes

12:03 am on Jun 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I want a splash page with 2 languages options and I would like to remember what choice was made. So I guess a cookie would help. But in fact I've never used it.. do I need php or with html would be enough?
May I pass a variable to a flash embeded in the splash page, so if user chooses 'english' a variable called 'idiom' get a value of 1?

Any help?

jatar_k

10:03 pm on Jun 29, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You can't do this in plain jane html. At very least, you could use javascript. I did a search for "set cookie with javascript" and came up with a bunch of examples.

As far as passing the variable to flash I am not familiar how that works. I am sure someone else will be able to answer that.