On 10/06/07, MartinWinkler <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have implemented a captcha solution for django (because the already > available approaches did not fit my needs), and came to this problem: > > An image is created for every captcha-enabled form that is being > displayed. Wen the user submits the form, the image is being deleted > automatically. BUT: If the user does not send the form back, there is > no obvious way for me to delete the picture. I had the following > ideas: >
Why not just scan the image directory prior to creating the image and delete any images over 30 minutes old? This should be a fast operation since there are not likely to be that many images. -- Phil --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---