View Full Version : change locale maintaining informations

2 Aug 2010, 3:31 AM
Hi all,
in my application, after a user has logged, I read in the database a language field to change the locale...
the problem is that, when I change the locale adding ?locale=it in the address bar this implies the reload of the application . I have already discarded gwt dictionary method. I'm searching for a way to maintaining state of my app (keep the user logged)...I'm looking gwt history but it seems not suitable in this case...
Any idea? Thanks,


2 Aug 2010, 3:40 AM
You can safe the state in your database for example and if the user comes back to your page (which happens on a reload), you restore your state manually.

3 Aug 2010, 12:04 AM
Yes, I think it's the right solution...but I thought of a cookie that stores user data.
However, I mainly want to know if gwt history could be used or not...