Ns returnforbidden

From AOLserver Wiki
Jump to navigation Jump to search

Man page: http://aolserver.com/docs/tcl/ns_returnforbidden.html


NAME

ns_returnforbidden - Return a 403 (Forbidden) status message to the client

SYNOPSIS

ns_returnforbidden ?connid?

DESCRIPTION

This command informs the client that they are forbidden from accessing the URL that was requested. This means that the authentication information in the request failed to grant them access.
The optional connid parameter is deprecated and should not be used.
Note: The script does not end at the time this command is invoked. ns_adp_abort or ns_adp_return should be called to end script processing after ns_returnforbidden.

EXAMPLES

   ns_returnforbidden

SEE ALSO

ns_return, ns_returnadminnotice, ns_returnbadrequest, ns_returnerror, ns_returnfile, ns_returnfp, ns_returnnotfound, ns_returnnotice, ns_returnok, ns_returnredirect, ns_returnunauthorized

-