Ns browsermatch

From AOLserver Wiki
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