On Feb 18, 8:44 am, Charlie <[email protected]> wrote: > Sorry for this very off-topic question. But is there any mechanism to > set up expiration date on image, and after that date the image won't > be viewable, just like injecting a virus into the image. > > Or if not image format, is Flash capable of doing that? > > Thanks for any thoughts, > Charlie
The way I've done this in the past is to have a Perl script in a cron job that sweeps directories and overwrites content with appropriate "expired" content (.html with such text or .jpg with such content). The issue is that Apache (or whatever your httpd) needs to be trained to return other content after the as-of date. That's a bit much to impose on the httpd server. The replacement text is there to avoid 404s --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
