On 8/14/06, Anil Kumar T <[EMAIL PROTECTED]> wrote:
I need to validate the user session in all actions. For this I tried using saveToken, isTokenValid(), but failed to use them. Not sure what the reason is but it fails during second request. Any info on this particular step or is there any other way to handle the session in struts?
Tokens are used to prevent duplicate form submits, so failure on the second request sounds correct. If you need to do something in every Action, consider a base action from which all of yours inherit, a Filter, or a security framework. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]