This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi, I have a application made on servlets mainly,but i use xslt for display purpose.If any user make any entry in the application he can use the back button of browser to go to periovus page and redo the entry, i want to disable that, is there any whay i can disable the chache in browser.
i used the following line also. but not working // Set standard HTTP/1.1 no-cache headers. response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
Hi felix My 2 cents.. If we go with suggestion brought up by Frank, then we would have to, - store all the submissions for a while for transaction id - also, it depends on what we choose as transaction id. for e.g. if we have chosen a user name that logged in then we have to make sure that we remove the transaction id from our "submitted requests" table as we want user to submit the form again in future. I hope I am able to convey my thoughts here. so in essence we can choose any mechanism for the transaction id but we have to make sure of certain things about managing it depending upon our application context/requirements.. Also, there are many disucussions about how to disable back button on Javaranch. So you can look for them if you wanted to dig into details about approaches/issues... Regards Maulin