• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part VI: APPENDIXES > SERVER-SIDE DETECTION

SERVER-SIDE DETECTION

This section contains server-side examples that detect the Pocket PC operating system. The code snippets check to see whether the request comes from a browser on the Pocket PC operating system. If so, the code snippet redirects to a success.html page; if the request does not come from a Pocket PC device, the code will display that the request does not come from a Pocket PC device.

The code detects the Pocket PC by searching for the string “PPC” in the HTTP_USER_AGENT field sent by the browser along with the request. This technique can be used to redirect the user to different versions of a Flash movie depending on what device or browser the request is made from.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint