Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This may be done by examining the HTTP header information of the incoming request. Since you can code your Lotus Domino applications by using either Java or Formula language code, here are code snippets for each example:
In Java code:
String source = request.getHeader("user-agent");
(Where 'request' is an instance of
'HttpServletRequest')
In Formula language code:
@If(@BrowserInfo("BrowserType")=
"Netscape";"NS";"IE";"BlackBerry")
In order to find out the exact contents of the HTTP header, use an HTTP proxy such as TCPMon to record the HTTP traffic.
Do you have comments on this Ask the Expert Q&A? Let us know.
Related information from SearchDomino.com:
This was first published in December 2007