View Single Post
Old 03-24-2006, 08:38 AM   #6
mannaggia
Knows Where the Search Button Is
 
Join Date: Oct 2005
Model: 8700
Carrier: Cingular
Posts: 23
Default

Quote:
Originally Posted by morser
Is there a "HTTP_RIM_DEVICE_MODEL" by adding "model" to the header?
It's BES that is adding HTTP_RIM_DEVICE_ID and HTTP_RIM_DEVICE_EMAIL to the http headers, and as far as I know those are the only two things it adds to the headers.

In addition to checking Request.ServerVariables("HTTP_USER_AGENT") for the model number on the server side, you can also use javascript to get it on the client side if you need it.

In javascript, the navigator.userAgent property returns the agent string containing the model number (and other stuff).

Of course, this assumes javascript is enabled.

The browser doc is at:

http://www.blackberry.com/knowledgec...65890&vernum=0
Offline