Forum OpenACS Q&A: Re: TCL function for capturing browser type

Collapse
Posted by Dave Bauer on
set headers [ns_conn headers]
set user-agent [ns_set iget $headers User-Agent]

Check out the AOLserver documentation for ns_conn http://panoptic.com/wiki/aolserver/Ns_conn
and
ns_set http://panoptic.com/wiki/aolserver/Ns_set