Hiya Peeps!
I'm writing a php that creates a new Access database files from user selected queries, etc, that then pumps them down the old electric chute back to the user. I then want to delete them after they've 'expired' i.e. after 2 days or something, yeah? Well anyway, I haven't got access to cron or any of that guff (yes yes, newbie City Central) and would just want the page that people log in on to like display the page, then go about its little housewife way afterwards with the script at the bottom checking file dates and deleting all the old ones.
If the user either closed the window, or moved on while the script was still running would it continue, or do they just get terminated mid process?
I know it wouldn't actually cause that much of a problem, because clearing up loads of files would only take pico-seconds, but it's the idea behind it that matters to me.
It's all Windows based. I sort of got the idea of cleaning up old session variables because I noticed if I shut down in the middle of a session before the final page had finished with it I'd end up with a temp directory full of them.
Php is bloody wicked innit? I've only been at it a week and love the way you can write something perfectly useful in three lines. This feels shameful because I love programming ASM.
Cheers me dears.