Juergen Kopper wrote:
Hi,
Angel Navarro schrieb:
Hi,
when I say 'the system expired session' is that the user are a lot of
time
without navigate and explorer expired session,
dou you understand me?
Yes I understand it and I think this makes the same as the invalidate(),
this means it unbinds all Objects of a Session also the Locale-Object.
->
http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/servlet/http/HttpSession.html
An approach for (Struts 1.1) to handle Session problems is:
-use the saveToken() in a login action
-all other actions need to use the isTokenValid() to check if the
session is not expired
Thanks
Hope this can help you .
Juergen
That's not going to help in this case, since if the session is done you
have no way to check the token anyway. What's needed is a way to
determine the correct locale (language/country) after the session
containing that information has gone away / expired.
The cleanest way to do so is probably to save a cookie with the locale
information. You can then use this cookie to restore the locale
information after the session has expired.
Make sure the cookie has a long enough expiry time (make it a permanent
cookie or tie it to the browser session, perhaps).
HTH,
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]