The new URL-based language switching is also causing issues with the way
Tapestry-Acegi handles the redirect to the login page once a session
expires. If a user switches to another language, let's say, Spanish, they'll
end up on a page with "es" locale code embedded in the URL, e.g.
/es/some/page. But if their session expires, Acegi will redirect them to the
login page, ignoring the locale component of the URL, e.g. /index, and thus
their language preference is lost. 

I guess it's not possible to revert to cookies easily in T5.1 now? Anyone
has a workaround for the Tapestry-Acegi issue?

Thanks,
Rado



immutability wrote:
> 
> Hi everyone, now that Tapestry 5.1.0.5 is encoding the selected locale in
> URL rather than using cookie for this purpose, is it still possible to
> somehow configure Tapestry to use cookies as in 5.0.x? This way worked
> better for our application (i.e. being "hidden" from the URL and more
> "permanent" with cookie expiration set to a few days). 
> 
> Or is the only way to make it work this way putting together some custom
> code to do this (i.e. store the setting in a cookie, or perhaps even as
> some user-specific setting in a database)?
> 
> Thanks,
> Rado
> 

-- 
View this message in context: 
http://www.nabble.com/-T5.1--Locale---possible-to-revert-to-cookies--tp23659027p24062150.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to