On 6/22/06, Scott Finnie <[EMAIL PROTECTED]> wrote:
>
> Realise this isn't django specific, would however appreciate advice.
>
> I have a django app that dynamically generates image files based on user
> queries.  During dev I use the same filename every time (so it gets
> overwritten for each request) however that won't do for production.
>
> My proposed solution is to insert the session id into the filename
> (since, for a given session, there can only be one image used at any
> given time).  That should work but will need a cleanup job to clear the
> temp dir periodically.
>
> So I'm wondering, is there another / preferred / recommended way to do this?


Do you actually need to save the images onto disk, or just store them
until they're sent out in the response?

Jay  P.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to