I'm using JQuery to call an asp.net webservice that is set in web.config to only allow logged in users access.
This works fine. When run locally from Web Developer Express, if I logout and try call the webservice I get a 401 message returned which I then use to redirect the user to the login page. However when run on the live server I'm getting an "authentication required" popup box asking for a username and password.
Why is this? Is there any way I can stop this?
And also, when I do enter the correct username and password, the box just comes up again.
Any help would be very much appreciated!