Welcome Guest, Not a member yet? Register   Sign In
Language Selector bug - ajax incompatibility. Sesson flashdata uri cleared by ajax requests.
#1

[eluser]kylehase[/eluser]
I'm using the language selection library which sets the current URI in the flashdata to return users to their original page after changing the language. I have an ajax update which makes a request every 10 seconds to a controller which outputs a div (which does not include the language controller) so the flashdata is cleared and not updated once an Ajax request is made.

I think the easiest workaround is to modify the language selector to use standard session data instead of flashdata.

Any other suggestions?
#2

[eluser]Roland B.[/eluser]
[quote author="kylehase" date="1194072898"]I'm using the language selection library ....

I think the easiest workaround is to modify the language selector to use standard session data instead of flashdata.

Any other suggestions?[/quote]

Today I released a new version of Language Selection. Please see Language Selection 2 for details.
The most important modification was to remove the depandency from any Session altogether.
Maybe it solves your problem.




Theme © iAndrew 2016 - Forum software by © MyBB