Hello all. Cache question. I have a jsp form that is being forward from a login page that is doing validation from a database. The jsp form has buttons and a click on each specific button will set a hidden input a specific value and and the action will go to another jsp page, where depending on what the hidden input was set to , will jsp forward to the page that is requested. But on click a javascript back, <INPUT TYPE="button" VALUE="Cancel" onClick="javascript:history.go(-1)">or the browser back button we get the previous page, but a click on any different button will go to the page you were just at, not the page it should go to. I have http 1.1 configured on my tomcat and I know that if on the page where the buttons reside, I add this : <% //HTTP 1.1 response.setHeader("Cache-Control","no-cache"); //HTTP 1.0 //response.setHeader("Pragma","no-cache"); //prevents caching at the proxy server //response.setDateHeader ("Expires", 0);%> Then if I click on let say button a to go to a.jsp and click back , I get this: '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. ' Is there any way to just to see the previous page and have it have, now lets say a click on button b to go to b.jsp and not to the cached a.jsp Thanks
__________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>