freeing resourses after the end of the session
| From: | Fernando | Date: | Mon, 19 Nov 2007 14:15:10 +0000 |
| Subject: | freeing resourses after the end of the session | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264777@lists.php.net to get a copy of this message | ||
Hello,
I made a image validation code, wich generate a image every time the user enters a page.
The name of the image uses the session id, and I save it in a temporary directory.
When the user close the browser (or leave the site) I would have to delete the image (or else I will start to have many garbage images in the temp directory).
Is there any way to do that? From PHP?
Fernando Bonafé
Artista Plástico
(19) 81184401
(19) 32322239
fernando@opapagaiorinoceronte.net
_____________________________
www.opapagaiorinoceronte.net