I am working on a client's site that will be English and Spanish. Once the user picks which lang. they want to use, is there an easy way to set a cookie so the next time they return they will be sent to the lang. page of there choice?

Are there any good tutorials out there that might explain this or a simple fix from someone?

Thanks for the help!