> -----Original Message-----
> From: Niko Gunadi [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 13, 2002 9:23 PM
> To: Beginners cgi
> Subject: Cache problem in IE
> 
> 
> Hi,
> 
> I developed an online polling system where ppl can vote online. This
> voting is done in a computer room where people come down and vote.
> 
> The problem is the caching problem that happen in IE. For example, I
> vote in a certain computer then i log off. The next person 
> who uses the
> computer can still see the my vote by pressing "back" in IE.
> 
> How to disable this caching function ?
> I read that "content-pragma:no cache" still won't work in IE.
> any suggestion ?

Sending both an Expires and Cache-Control header works well for me:

   print $q->header(-expires => 'now', '-Cache-Control' => 'no-cache');


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to