For Programmers: Free Programming Magazines  


Home > Archive > ASP > December 2006 > Server.execute command inside global.asa









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Server.execute command inside global.asa
Michael

2006-12-19, 6:57 pm

Question. Is it possible to run Server.execute command inside global.asa
file. if it is where. Inside Application onstart? Another ideas appreciated.
Michael


Anthony Jones

2006-12-19, 6:57 pm


"Michael" <michael.groysman@intergraph.com> wrote in message
news:utqH7N3IHHA.4848@TK2MSFTNGP04.phx.gbl...
> 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

2006-12-20, 7:56 am

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" <Ant@yadayadayada.com> wrote in message
news:eJJkFX4IHHA.1912@TK2MSFTNGP03.phx.gbl...
>
> "Michael" <michael.groysman@intergraph.com> wrote in message
> news:utqH7N3IHHA.4848@TK2MSFTNGP04.phx.gbl...
> appreciated.
>
> Did you try it? What happened?
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com