Re: Can anyone help with solving the BACK button problem, in the browser?
It's not wrong to have a form in the session context, so long as it is disposed in the normal course; it's just a convenience that you do not want to overuse. Dudley Butt@i-Commerce wrote: yes, but this is a form that is being filled in like a wizard type of thing, i need the form to be session any ideas, for an alternative? -Original Message- From: William Jaynes [mailto:[EMAIL PROTECTED]] Sent: Friday, June 08, 2001 1:40 PM To: [EMAIL PROTECTED] Subject: Re: Can anyone help with solving the BACK button problem, in th e browser? Just a comment... Looks like your method of checking the RefreshOption property will only work if the scope of the ActionForm is session. That's ok if one doesn't mind the use of resources.
Can anyone help with solving the BACK button problem, in the browser?
Please help, When the user pushes the back button, I want the page to redirect or refresh to a different page, please, any ideas? Thanx guys and gals Dudley
Re: Can anyone help with solving the BACK button problem, in the browser?
Depending on which browser you use, and the data on the page, the back button may cause (or ask) the page to reload. However, some browsers (like IE) only display a snapshot of what the last page rendered to. Therefore, you cannot use scriptlets or the action class. However, you are able to kick-off javascript. If you can gaurantee that your users will have javascript enabled, you can write a simple test to see if this page was already displayed to the user. You could check a flag (hidden field) when the page loads. If the flag is true, then use the javascript to reload to your desired page. HTH, Pete Dudley Butt@i-Commerce wrote: Please help, When the user pushes the back button, I want the page to redirect or refresh to a different page, please, any ideas? Thanx guys and gals Dudley begin:vcard n:; x-mozilla-html:FALSE org:BRIMG SRC=http://www.irista.com/logo/irista.gif;BRBRFONT Color=#80FONT SIZE=2BBringing Vision to Your Supply Chain adr:;; version:2.1 end:vcard