Home All Groups Group Topic Archive Search About

global.asa @ Session_OnEnd



Author
13 Jul 2006 9:39 PM
Rohan
Hi, I am having problem with Global.asa

When a session end i want to delete a folder, however it doesn't seem
to work, TempFolderPath is a global variable. or do i have to save the
folder path in the db and use it when the the session ends ?


sub Session_OnEnd
  DeleteTempPath(TempFolderPath)
end sub


Does this Scripting.FileSystemObject.DeleteFolder will it delete file
that are in the folder or just empty folder.


Thank you

Author
13 Jul 2006 9:45 PM
Mike Brind
R***@virtualftp.net wrote:
Show quote
> Hi, I am having problem with Global.asa
>
> When a session end i want to delete a folder, however it doesn't seem
> to work, TempFolderPath is a global variable. or do i have to save the
> folder path in the db and use it when the the session ends ?
>
>
> sub Session_OnEnd
>   DeleteTempPath(TempFolderPath)
> end sub
>
>
> Does this Scripting.FileSystemObject.DeleteFolder will it delete file
> that are in the folder or just empty folder.
>
>
> Thank you

http://www.aspfaq.com/show.asp?id=2078

--
Mike Brind

AddThis Social Bookmark Button