> Ok, I have created a package that takes orders and creates temporary
> files. Upon completing the order, the temp files are deleted. If the
> user does not complete the order and leaves the web site, the files
> remain as clutter.
>
> How can I tell if a user has left the site and act upon it?
You could use sessions, base the file names on the session numbers, and
keep a list of open session (i.e. not completed) and the time they were
last accessed, you could have a job run every half hour to remove
session files not used for a certain time period.
Or there's probably a better way, but
Ok, I have created a package that takes orders and creates temporary files. Upon
completing the order, the temp files are deleted. If the user does not complete the
order and leaves the web site, the files remain as clutter.
How can I tell if a user has left the site and act upon it?
If a user