On 22 Jun 2006, at 21:33, Scott Finnie wrote:

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

Putting in the session ID sounds a bit risky as it increases the  
chance that the session ID might be exposed to a third party. I'd  
just assign a name based on an MD5 hash of the session ID and the  
current time (or something like that).


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