Prodinner Cookies Off

Sep 18, 2012 at 10:59 AM

Hi,

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

Thanks.

Coordinator
Sep 18, 2012 at 11:03 AM

hi,

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 11:23 AM

Do you have example of this?

Thanks.

Coordinator
Sep 18, 2012 at 11:28 AM

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 11:35 AM
Edited Sep 18, 2012 at 11:35 AM

Ok, thank you very much.

Regards.