Hi Stephane, Interesting... How do you get this work 'elegantly' in turbine? Right now, my data entry forms are processed by Actions, but when I use setTemplate from within the action, I get to the presentation page I want, but when I click on Refresh it asks to resending the data. How are you doing this?
Thanks! DAvid -----Original Message----- From: Stephane James Vaucher [mailto:[EMAIL PROTECTED] Sent: Wednesday May 5, 2004 1:29 PM To: Turbine Users List Subject: Re: Turbine/Velocity - Back Button displays Page has Expired I think it's probably a questing of the browser interpretation of the semantics of the http method you are using. I don't want to sound pedantic, but a post implies posting information while a get implies retrieving information. If you want the info to be shown using back, you should use a get, not a post. In general, when I use a post, I redirect afterwards to the presentation page that can be refreshed. This is to prevent my app from allowing double submissions with refreshes, and protects me from browser specific behaviour. sv On Tue, 4 May 2004, Chung, Sean Saehoon wrote: > Hello all, > > I am building an application using Turbine/Velocity. > > It looks like when an application is secured (by defining security related > elements in web.xml), using BACK button of IE generates : > > Warning: Page has Expired > The page you requested was created using information you submitted in a > form. This page is no longer available. As a security precaution, Internet > Explorer does not automatically resubmit your information for you. > > To resubmit your information and view this Web page, click the Refresh > button. > > > > Now from here user can press REFRESH button on the browser to get to the > previous page, but I am trying to see if there is a work around for having > to press back and then refresh. > > By looking at the fact that this doesn't happen (ie just back button will > take a user to previous page) when an application is not protected (no > security related elements defined in web.xml) and I guess this problem is to > do with authentication somehow?. > > Has anyone dealt with this issue before? > > Thanks in advance > Sean > --------------------------------------------------------------------- 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]
