global.asa @ Session_OnEnd

R

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
 
M

Mike Brind

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top