Hello,
I have big problem. Lets look on the code below:
protected void Application_AuthenticateRequest(object sender, EventArgs e)
{
if(Request.IsLocal)
//DO WHAT I WANT
}
I have a client which connects with webservice and invokes some method. When the request is being made from my client to WS, the method Application_AuthenticateRequest is started.
On the local machine, where I have WS stared on, and I connect from local, this flag IsLocal has a value true.
The same webservice is hosted on some machine B. On machine B I have a windows service, which invokes some method of my WS.
In this case this flag has value False. I'm so confused...
Can anyone help me :-)?
Best regards,