Forum Moderators: coopster
$insertGoTo = "http://www.example.com/surveys/thankyou.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?'))? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $insertGoTo));
If anyone has ideas what could be causing the problem, please let me know.
[edited by: coopster at 2:07 pm (utc) on Nov. 15, 2005]
[edit reason] generalized url [/edit]
1) How did you come to this conclusion?
2) What cache-control headers do you send with the Thank-You page?
If your conclusion is based only on your access logs, and you have allowed the thank-you page to be publically-cached, then many users' requests may be served from within their ISP's caching system (e.g. AOL users).
Jim
2. <META HTTP-EQUIV="pragma" CONTENT="no-cache">
<meta name="expires" content="0">