• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Deleting CAPTCHA GIF From IE Cache

 
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have come across a site (actually an online web based game) that presents a CAPTCHA gif to defeat automation script. The point is I found that the site is also able to prevent people from retrieving the CAPTCHA gif from the IE 7 browser cache (in C:\Documents and Settings\username\Local Settings\Temporary Internet Files) by not storing the related gif there.

My question is how is it possible to prevent IE from storing a GIF in the browser cache programmatically. I have removed all unrelated files in the cache and is sure that it is not adding anything new files to the cache when loading the CAPTCHA.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Set up the serverside to add non caching headers to the image when server
or
Give the image an unique name [set random querystring value or actually name it different.]

Eric
 
reply
    Bookmark Topic Watch Topic
  • New Topic