global.asa @ Session_OnEnd

Discussion in 'ASP General' started by Rohan@virtualftp.net, Jul 13, 2006.

  1. Guest

    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
    , Jul 13, 2006
    #1
    1. Advertising

  2. Mike Brind Guest

    wrote:
    > 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
    Mike Brind, Jul 13, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. MostlyH2O

    Global.asa - Session_OnEnd Question ..

    MostlyH2O, Jul 28, 2003, in forum: ASP General
    Replies:
    6
    Views:
    126
    MostlyH2O
    Jul 28, 2003
  2. Soha El-Saeed

    Global.asa and Session_OnEnd

    Soha El-Saeed, Feb 4, 2004, in forum: ASP General
    Replies:
    1
    Views:
    138
    John Blessing
    Feb 4, 2004
  3. Olivier SOW

    session_OnEnd dans le global.asa never fired

    Olivier SOW, Oct 27, 2004, in forum: ASP General
    Replies:
    6
    Views:
    162
    Bob Barrows [MVP]
    Oct 28, 2004
  4. Bill

    Global.asa and Session_OnEnd

    Bill, Feb 11, 2005, in forum: ASP General
    Replies:
    4
    Views:
    105
  5. steven scaife

    Global.asa Session_OnEnd

    steven scaife, Sep 1, 2005, in forum: ASP General
    Replies:
    3
    Views:
    148
    Evertjan.
    Sep 2, 2005
Loading...

Share This Page