H. Tony
So far, the problem looks like a typical webservice scenario.
user interacts with the webservice interface, login, perform action based on session authentication.
webservice calls windows service to perfom certain tasks. my suggestion is to pass the user information from webservice(which holds the authenticated session) to windows service, so that the windows service knows what process to run and returns the result back to webservice.
the windows service itself is 'sessionless'. does that solve your problem
rternier wrote: |
Hey,
Thanks for the reply.
I'm using sessions on the WebService, so that returns a cookie which is stored in the CookieCollection of the webservice object on the client.
Even if the session is lost, the webservice can tell the Service that, but how can I get the service to send information to other programs (I don't think i really want to get into .NEt remoting that much...).
I do have a client WinForm application that I can launch from the service. So if the service needs to launch it, it can. however iwth that, I do not know how to launch an application in the right process space.
Example: If the service is running and no one is signed in, I can't launch any application - I have to wait for someone to sign in. When someone is signed in, my service can launch that app in the correct process space... but how do you determine what process space
| |