Ns returnforbidden

From AOLserver Wiki
Revision as of 22:11, 23 June 2004 by WikiSysop (talk | contribs) (imported from WiKit id 639)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Category Documentation - Category Core Tcl API