PDA

View Full Version : Expiry Date !!!!


Carn
28-06-2000, 00:11
Ok heres the deal, how the f**k do u make an image expire after a certain date. If this is not clear to u let me explain more. I am creating a top 100 for a site and the image witch the other sites download has to run out after one day, so that the next day any same user will re-download it and it will count as a new hit, instead of their tempory internet files calling it up, and it not counting. I know it can be done, because i've seen it done else where. If you help me i would much appreachiate it.

Cheers

Carn http://forums.gameplay.com/ubb/farmer.gif

Jinx M
29-06-2000, 00:54
Using CGI would be the best way to do it but I suspect you won't want to get into all that. There is a no cache meta tag but I'm not sure if it actually works...

I don't have it to hand... Anyone?

Jamp30
30-06-2000, 19:19
also heard it doesn't work, and don't have the code :(

GeoffW
30-06-2000, 21:11
This is the no-cache tag.

<META HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT">

this is telling the browzer that the page expired on the 6 Jan 1990 so it wont cache it.

Internet Explorer only though.



[This message has been edited by GeoffW (edited 30-06-2000).]