shahrahulb
asked on
prevent caching
if i open the url on the same window it returns the cahched data.
if i open in new window it works fine...
how do i prevent CGI from caching.
Rahul
if i open in new window it works fine...
how do i prevent CGI from caching.
Rahul
ASKER
is it possible that server is caching this data?????
Hi shahrahulb,
> is it possible that server is caching this data?????
not very likely, unless you have a proxy server in between.
try adding the headers to the actual http header too, instead of just the meta's.
also, check what your browser does: install Firefox and get yourself the livehttpheaders extension. it's a life saver.
HTH,
Kandura
> is it possible that server is caching this data?????
not very likely, unless you have a proxy server in between.
try adding the headers to the actual http header too, instead of just the meta's.
also, check what your browser does: install Firefox and get yourself the livehttpheaders extension. it's a life saver.
HTH,
Kandura
CGI scripts aren't cached as they dynamically generate their output. However, if your webserver runs in a cluster, you may run into problems that appear to look like caching issues.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
print "<html> <head>
<META Http-Equiv=\"Cache-Control
<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">
<META http-equiv=\"Expires\" CONTENT=\"0\">
</head></html>";
not working