Affecting headers in web method

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DroidSlave300
    New Member
    • Sep 2012
    • 3

    #1

    Affecting headers in web method

    Hello all,

    I have a web method that I need to update to use authentication to validate that a user is a valid user before allowing access to the code in the web method.

    What I want to do is change the response header to return a 403 error code instead of the standard 200 when the credentials cannot be authenticated.

    Does anyone know how to do this?
    Last edited by DroidSlave300; Sep 25 '12, 03:57 PM. Reason: Did not clearly state what I was trying to do.
Working...