Forums Register Login

browser is not cached

+Pie Number of slices to send: Send
hi guys,

i have problem that is when i m logging out from my application i invalidate the session . but if i click on the browse back button then it is going to the previous page. i also even tried by writing the code

<%
// issue HTTP directives such that this page is not cached
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
%> in my jsp page but it is not working. please help me in ths reagrd it is urgent.
+Pie Number of slices to send: Send
What the back button does is up to the browser. Often it will not retrieve the page anew, but use the copy it has in its cache.

Why do you perceive this as a problem?
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1048 times.
Similar Threads
JSP and caching...
JSP Caching in Tomcat
logout issue
button display
how to refresh the jsp page when onload?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:54:42.