aspose file tools*
The moose likes JSP and the fly likes why jsp request was cached by IE8 or Apache Http Server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "why jsp request was cached by IE8 or Apache Http Server?" Watch "why jsp request was cached by IE8 or Apache Http Server?" New topic
Author

why jsp request was cached by IE8 or Apache Http Server?

fengl fliang
Greenhorn

Joined: Apr 18, 2014
Posts: 2
1,I don't know whether the IE caching dynamic pages(showModuleDialog()'s popup windows)
2,How to judge whether the B page by caching, cache in where?
3,Why not send the request?

Problerm Describe:

1-Normal condition

A.jsp-->showModuleDialog(URL,null,str)-->B.jsp
perents window A open sub window B use showModuleDialog().
A page send request to Apache HTTP server then Apahce transport to AP server to excute INIT() Fanction.
INIT() Methed put some values into AP server's Memory to wait next operation.(..like KbnFlag=2..)
B page popup,There is a button that is named [Search] for search request.
click [Search] button ,B page sand a request to Apache then Apache transport to AP Server to excute isExcu() Fanction.
isExcu() use A's values in memory compear with B's values.(..like[(b.KbnFlag).eq(A.KbnFlag)]..)
A request URL1 =[XX/Mar/20XX:XX:XX:XX +0900] "GET /abcd/someTodo/search?requestId=BInit&ProcId=123456&ProcMode=4&DetailNo=041&KbnFlag=2 HTTP/1.1" 200 0 9104
B request URL2 = /abcd/someTodo/search?requestId=Search HTTP/1.1" 200 0 13040

2-Error condition
click [Search] button ,B page popup.
But No request A(URL1) send to Apache(i can't find the reuqest in access.log).
INIT() didn't excuted.No values were put into memory.
AP server didn't received the request A. Nothing in ap.log about INIT() operation.
At this time B page popup,User didn't Know request is missing.User click [Search] button.Error occurred!! isExcu() throw exception.
In ap log i found this : Attribute [KbnFlag] value is invalid.AP server can not found the KbnFlag's value.
This error occurred 3 times in 1 year.To reproduce the difficulties.For unknown reasons.

3, I guess maybe page B was cache by IE8.
4, I guess maybe page B was cache by Apache HTTP Server.
But I can't find the evidence

How to judge whether the B page by caching, cache in where?
fengl fliang
Greenhorn

Joined: Apr 18, 2014
Posts: 2
Additional remarks !
The same settings in page A and B:
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
The purpose is to keep this page no cache

2, Apache HTTP Server 2.2 load the cache_module and mem_cache_module but no set.

3,IE8 set Internet temporary file - > temporary file version automatically identified
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why jsp request was cached by IE8 or Apache Http Server?