Jason Morgan
jwm-modpython at sentinelchicken.net
Thu Jan 16 13:09:27 EST 2003
As usual, the error was caused by my own ignorance. I fixed the problem by sending adding an expiration date to the header. req.headers_out.add('Expires',expire_date) Thanks for everyone's help. -Jason On Thu, Jan 16, 2003 at 11:43:25AM -0500, Jason Morgan wrote: > > This won't hurt: > > > > req.headers_out.add("Cache-Control:","no-cache") > > req.headers_out.add("Pragma:","no-cache") > > Won't this make the browser request the contents again? What I want is > for IE not to request what it already has cached. > > > > > as welll as adding this to your HTML header: > > > > """<meta http-equiv="expires" content="Tue, 20 Aug 1996 01:00:00 GMT">\ > > <meta http-equiv="Pragma" content="no-cache"><title>%s</title>%s</head>""" > > Maybe the content expiration will work. > > Thanks, > > Jason > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://www.modpython.org/mailman/listinfo/mod_python
|