ASP.NET MVC LCID and Sessions

657 views Asked by At

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

Thanks

1

There are 1 answers

2
dove On BEST ANSWER

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.