disappearing process when launched from a web service

T

Tim Mackey

Hi,
I'm building a very simple web service to control a server dial-up connection, as follows:

[WebMethod]
public void Dial()
{
Process.Start("rasdial.exe", "utv_isdn user pass");
}

this works when i invoke it, but the connection is disconnected straight away. it's as if the process gets cleaned up as soon as the web request is finished, is this an IIS thing to do with processes created by a web request?

thanks for any help
tim


\\ email: tim at mackey dot ie //
\\ blog: http://tim.mackey.ie //
67d0ebfec70e8db3
 

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

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top