guest2013-1
guest
- Joined
- Aug 22, 2003
- Messages
- 19,800
- Reaction score
- 13
I've been tearing my hair out right now. At first I thought it was Output Caching on IIS7 being a douche, and I distinctly remember turning that OFF (which I did for .asp pages)
I made a few changes to a client's e-commerce "successful order page" (www.example.com/checkout-success (rewrites to the checkout_success.asp page))
The "in process please wait page" submits the successful order ID to www.example.com/checkout-success and in that page I do something with the order ID (or that's the idea) before displaying the successful message.
On that page I've done:
<%
pStr = "private, no-cache, must-revalidate"
Response.ExpiresAbsolute = #2000-01-01#
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", pStr
%>
and added:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
but Google Chrome caches the page regardless leaving me looking at the old "before the changes" page. I cleared my cache and got the newer changes, but the Order ID never popped into the hidden input I placed there. Made a few changes and still nothing. Changed it to something random, nothing, nil. All the while it ignores the meta tag and somehow the new headers sent through from ASP itself??
All the while IE & Firefox shows it perfectly.
WHAT
THE
****!?!?!
I made a few changes to a client's e-commerce "successful order page" (www.example.com/checkout-success (rewrites to the checkout_success.asp page))
The "in process please wait page" submits the successful order ID to www.example.com/checkout-success and in that page I do something with the order ID (or that's the idea) before displaying the successful message.
On that page I've done:
<%
pStr = "private, no-cache, must-revalidate"
Response.ExpiresAbsolute = #2000-01-01#
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", pStr
%>
and added:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
but Google Chrome caches the page regardless leaving me looking at the old "before the changes" page. I cleared my cache and got the newer changes, but the Order ID never popped into the hidden input I placed there. Made a few changes and still nothing. Changed it to something random, nothing, nil. All the while it ignores the meta tag and somehow the new headers sent through from ASP itself??
All the while IE & Firefox shows it perfectly.
WHAT
THE
****!?!?!