A real simple first implementation might be to clean out all session attributes (such as forms) that are considered "working" attributes (not those, such as "user" objects, that are needed for the lifetime of the session) whenever the user returns to the "home" page (in your "home" Action).
It is worth noting that good navigation design inherently makes this sort of thing easier. Applications should have "home" views, and sections of the application should have their own "home" views. When the user finishes a task, he returns to the home view for the section he's using, or to the main home view. This is where you can do cleanup (while you are preparing the home view).
Or not. The particular design isn't really relevant. The point is to design *something*, to think it through ahead of time, instead of just drawing pages and making them "work".
Sorry I didn't help much.
Erik
lixin chu wrote:
Hi, I saw an ealier thread discussing this but still can not fully understand the solution.
appreciate if any one can provide some more detailed info on this. basically if the current page flow is terminated for some reason, how the Struts application can clear the objects stored in the session ?
thanks li xin
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]