Home > Ask the Domino Experts > BlackBerry and Wireless Administration for Domino Questions & Answers > Determining whether a BlackBerry or desktop is accessing a Web site
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Determining whether a BlackBerry or desktop is accessing a Web site

Valerie Wang EXPERT RESPONSE FROM: Valerie Wang

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 26 December 2007
How can I use my Lotus Domino server to detect whether a BlackBerry or desktop computer user is accessing a Web site?

>
This answer comes from my co-presenter at Lotusphere 2007, Rana Puri. Thanks, Rana!

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:

  • Expert Advice: Stop spam on BlackBerry mobile devices
  • Learning Guide: Wireless Integration Development
  • Reference Center: Lotus Notes Domino and mobile devices


  • Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



    RELATED CONTENT
    Mobile Devices
    Lotus makes mobile partnerships and Notes Traveler top priorities
    Lotus Notes/Domino and mobile device management
    An introduction to iNotes for Lotus Notes/Domino 8.5
    Approve Lotus Notes documents using a BlackBerry mobile device
    SaaS and collaboration set the stage at Lotusphere
    Collaboration on the run with Lotus Notes and Domino
    Solving your Lotus Notes Domino and BlackBerry problems
    Install Lotus Traveler for Windows Mobile device synchronization
    Exploring Lotus Notes Domino 8.0.1 and beyond
    Configuring Lotus Sametime on a Blackberry mobile device

    BlackBerry and Wireless Administration for Domino
    How many BlackBerry clients can connect to a Domino server at once?
    How to allow simultaneous BlackBerry and Lotus Notes calendar access
    BlackBerry Intellisync error: 'A Lotus Notes error has occurred. Please see log for details.'
    Stop spam on BlackBerry mobile devices
    Transferring Lotus Notes Domino data from Palm Treo to BlackBerry

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice



    Lotus Notes Domino on Blackberry and mobile devices
    HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts