Question

i have to short questions on ASP MVC. Where is the best place for setting on Session.LCID ?

Thanks

Was it helpful?

Solution

In three places:

Upon login, inside the controller once successfully authenticated.

When they change their culture setting explicitly.

Before they are logged in you would base it on browser or ip address and set in a base controller, reading from the session first to check if it's been set above.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top