Ns browsermatch

From AOLserver Wiki
Revision as of 18:48, 19 August 2004 by WikiSysop (talk | contribs) (imported from WiKit id 523)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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


NAME

ns_browsermatch - Match against the User-Agent header

SYNOPSIS

ns_browsermatch ?connId? pattern

DESCRIPTION

This command returns a boolean indicating if the pattern matches the User-Agent header on the current HTTP request.

EXAMPLES

 % ns_browsermatch *Mozilla*
 1

SEE ALSO

ns_browsertype, ns_conn headers, Tcl [string match] [1]

Category Documentation - Category Core Tcl API