Page 1 of 1

Force reload of image

Posted: Mon Aug 21, 2006 5:20 pm
by shiznatix
Couldnt think of the correct forum so i posted here!

I have a captcha image at certain places on my site but the problem is that sometimes the image won't reload and thus will display the old captcha image. Is there any way to make it not send the 'Use browser catch' header for that specific image?

Posted: Mon Aug 21, 2006 5:32 pm
by feyd
Add a completely random query string to it. The sha1() of the current time, perhaps.

Posted: Mon Aug 21, 2006 10:50 pm
by shiznatix
thanks much, works perfect