I have a corp website written in ASP (not asp.net) and would like to grab the Blackberry Device Pin number and save it as a variable when a user enters the site.
Could someone please give me the code needed for me to do this. I know it involves getDeviceId(); but am unable to find the complete code needed to add to my ASP page to get it to work.
Or if it cant be done in ASP then what do I need to get this to work?
You can retrieve the PIN from the HTTP header, but first you have to make sure the BES is configured to include it in the header. The rimpublic.property file needs to have the following entry to pass the PIN in the header:
I don't recall if this entry is there by default.
From your ASP page, the PIN will be in the request header "Rim-device-id".