I need to be able to create a temporary directory for users that is automatically destroyed when they end their session, even if they do not actually "logoff". I looked for a directory function similar to the temp file functions, but there doesn't seem to be one. I also looked for some kind of session termination function that could be extended to clean things up, but to no avail. The only option I know will work is to run a cron job or something looking for abandoned directories, but that is too ugly for words. :queasy: Any suggestions?