Prodinner Cookies Off

Sep 18, 2012 at 11:59 AM


Is there a way to change Language even when Cookies are set to off in the browser?


Sep 18, 2012 at 12:03 PM


you could do that, don't why you need to cuz everybody uses cookies nowadays.

you would have to store the selected language in some other thing, like session on the server side or localStorage and sessionStorage on the client side

Sep 18, 2012 at 12:23 PM

Do you have example of this?


Sep 18, 2012 at 12:28 PM

I don't have an example of changing language  using session as a storage, but as a start 

you basically need to do Session["lang"] = language

instead of the Response.Cookies.Add("lang" ...

Sep 18, 2012 at 12:35 PM
Edited Sep 18, 2012 at 12:35 PM

Ok, thank you very much.