Hi B You have keep track of user location on application level. Say suppose there are some pages in your web application. Like below...
Apage1 Bpage1-> Bpage2-> Bpage3-> Bpage4 (Web Wizard) Cpage1-> Cpage2 (Web Wizard) Dpage1 B & C are your web application wizard, which meets some business requirements. Generate unique pageid for each page and store the value in Application.properties file or your web application conf file. Location Pointer in web Application (LPWA) ------------------------------------------ Before sending response back to user for any particular page in your web application read the unique pageid for the page and stores it in persistence media. (Note: Don't forget to consider performance issue while storing this value to any persistence system) When user come back again with fresh session, Check for value LPWA and load web application with LPWA value. Here concept is check and store for user location on web application and load the application with LPWA value. Don't forget you have to consider other issue like if the user is going through some wizards in your web application like in above example B and C. In this case you have take care of user location and data filled on previous screens. Nitin -----Original Message----- From: Balwinder [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 9:49 PM To: Struts Users Mailing List Subject: Regeneration of last page visited. Hi All, I have a situation, it goes like this; If user is accessing application (build on struts) and accidentally he close the browser, on revisit to the same application by the same user, user after login should get the last page he was working on. I am working on cookies option but somehow i feel that it is not good, i need an alternate solution that deals at server level. Any help is highly appreciated. Thanks and Regards, Balwinder Kumar --------------------------------------------------------------------- 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]