In my ASP.Net MVC 3 application I have implement localization. I save localization of user in cookies. In my application I have autentification. What is the best way saving localization in cookies or in session (session is 2880 seconds as in web.config and after this tyme user should again chouse it’s language in application)
In my ASP.Net MVC 3 application I have implement localization. I save localization of
Share
ASP.NET Session and cookies depends on browser so when user changes the browser he will have to select language again. You may create a setting in database and allow user to select language in profile. In this case you he will not need to reselect language each time he changes a browser.
At the same time you may use cookies to store language locally so when user is not logged in language from cookies will be applied.