This content has been marked as final. Show 5 replies
If I put this code to some .cfm file like Application.cfm or any other then it works fine.
But my goal is to create a standalone web service with embedded authentication!
Is it possible or not?
If I put authentication script in Application.cfm file in the same folder and remove this script from web service then I'll receive the same error 401 without any browser login dialog.
So, this authentication mechanism works fine without calling web service.
What would you like to happen if the user is not authenticated?
If user isn't authenticated then I'd like to see a message about wrong or missed username and password