EuroTcl2026: ADP - The NaviServer Web Anti-Framework

Used/Useful Naviserver Commands

ns_quotehtml string
Convert string so that HTML syntactical elements are visible instead of interpreted if the result is viewed as HTML. See textutil-cmds.
ns_serverpath
Return the root directory of the server section which is serving the current page.
ns_conn url|method
Return the URL under which the current page is served / the HTTP method with which the page is retreived. See ns_conn.
ns_returnredirect, ns_returnnotice, ns_returnerror
Send the respective HTTP response. See returnstatus-cmds.
ns_getform, ns_set
Get an ns_set with the HTML form data of the current page. See ns_getform.
ns_setcookie, ns_getcookie, ns_deletecookie
Set, retrieve or delete a cookie. See ns_cookie.
ns_logctl severity severity, ns_log severity ?args?
Register a new log severity, log (debug) message with this severity.