how can i tell cake to delete directories automatically after a specific time
hi,
lets say a user uploads an image. then i create a temp-folder to save
it temporarily. once the user is finished i delete this temp directory
and copy the image to the actual path.
now lets say, he uploads it, cake puts it to the temp directory and
the user cancels the process by shutting down the browser or just
leaving the website. if that happens, i want to delete the temp-dir.
so is it possible to check if the user left the site or shut down the
browser?
if not, then i'd like to check what temp directories have been created
24hrs ago and still exist, so i can delete them. is that possible?
thank you so far. as usual :)
btw: i love this forum
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home