Cache problem

  • Thread starter Thread starter tshad
  • Start date Start date
T

tshad

I have a page with a Captch character on it for security.

But if the user puts in the incorrect number, the page redisplays and
changes the number but the display stays the same on a users page that has
"Never" set for page reloads.

I tried adding in the Head section:

<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">

But it still doesn't reload.

Is there anything else I can do to force it?

Thanks,

Tom
 
Add a querystring to the URL for the image, and set it to a random number
with each PostBack. The querystring will be ignored, but the browser will
download the image because the URL is not the same.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
Back
Top