| |

VerySource

 Forgot password?
 Register
Search
View: 727|Reply: 1

How to implement a newer version of IE to check stored web pages in JSP?

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-3-19 22:30:01
| Show all posts |Read mode
I made a dynamic tree that reads XML and stored it in a cookie.You must set IE to check the newer version of the stored web page to check it every time.
Is there any implementation with JSP or javascript, when the newer version of IE to check the stored web pages is set to automatic.
I have used several methods.
Such as
<%
response.setHeader ("Pragma", "No-Cache");
response.setHeader ("Cache-Control", "No-Cache");
response.setDateHeader ("Expires", 0);
%>
or
<META HTTP-EQUIV = "pragma" CONTENT = "no-cache">
<META HTTP-EQUIV = "Cache-Control" CONTENT = "no-cache, must-revalidate">
<META HTTP-EQUIV = "expires" CONTENT = "Mon, 23 Jan 1978 12:52:30 GMT">
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-27 20:30:01
| Show all posts
Oh also encountered a similar problem! The reason is that we use cache and cookies. UPing!
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list