Server.execute command inside global.asa

Discussion in 'ASP General' started by Michael, Dec 19, 2006.

  1. Michael

    Michael Guest

    Question. Is it possible to run Server.execute command inside global.asa
    file. if it is where. Inside Application onstart? Another ideas appreciated.
    Michael
    Michael, Dec 19, 2006
    #1
    1. Advertising

  2. "Michael" <> wrote in message
    news:...
    > Question. Is it possible to run Server.execute command inside global.asa
    > file. if it is where. Inside Application onstart? Another ideas

    appreciated.
    > Michael
    >
    >


    Did you try it? What happened?
    Anthony Jones, Dec 19, 2006
    #2
    1. Advertising

  3. Michael

    Michael Guest

    The following code is working in local machine, on web server it does not
    work, and does not failed

    global.asa fragment

    sub Session_OnStart
    session.timeout = 25
    Application.Lock
    server.execute("vars.asp")
    Application.Unlock
    end sub

    Thanks


    "Anthony Jones" <> wrote in message
    news:...
    >
    > "Michael" <> wrote in message
    > news:...
    >> Question. Is it possible to run Server.execute command inside global.asa
    >> file. if it is where. Inside Application onstart? Another ideas

    > appreciated.
    >> Michael
    >>
    >>

    >
    > Did you try it? What happened?
    >
    >
    Michael, Dec 20, 2006
    #3
    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. Lucas Cowald
    Replies:
    4
    Views:
    1,028
    Tohid
    Oct 23, 2003
  2. Wayne
    Replies:
    2
    Views:
    456
    Wayne
    Nov 11, 2003
  3. Lucas Cowald

    RUN/execute a Command-Line command from an ASP page

    Lucas Cowald, Oct 22, 2003, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    219
    Genich
    Oct 22, 2003
  4. Guest

    global.asa not execute

    Guest, Nov 7, 2003, in forum: ASP General
    Replies:
    3
    Views:
    127
    James Bond
    Nov 7, 2003
  5. Scott Gordo
    Replies:
    4
    Views:
    424
    Scott Gordo
    Mar 15, 2006
Loading...

Share This Page