A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
submitting a new request on browser back
Joined: Aug 13, 2001
Feb 22, 2005 11:26:00
when I hit a browser back button my initial page is picked from the cache.
What I want to do is submit / make a new request for the first page even on browser back. The first page should reload not just picked from cache.
Any pointers ??
Thanks in advance.
Kaustubh. Mumbai, India.
Joined: Dec 11, 2004
Feb 22, 2005 11:35:00
Yes, prevent the page from caching.
This can be harder than it seems.
Do some google searches for "pragma" "no-cache" etc...
You may be able to find some 3rd party filters of tags that you can use to help you with this.
You'll also have to
in EVERY browser that you plan to support if your code is really counting on a new request.
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: submitting a new request on browser back
Preventing users from seeing old data using their browser back button
Problem in opening multiple browser
Broswer back button not refreshing. JSF 1.1
When You click Back Button in Brower will that Request goes to server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015