How to pass the #DEVICENAME#- info to the called asp page

Unanswered Question
Jan 22nd, 2008

Hi,

i added the ?name=#DEVICENAME# to my phoneservice.

how can i use this info in my called asp-page.

thanks

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Paolo Bevilacqua Tue, 01/22/2008 - 09:19

The phone is supposed to replace that string with SEPxxxxxxxxxxxx so that you can use the name to whatever you applications needs to do.

I found this to be broken at least in some applications, so just put name=SEP000000123456 and it should work anyway.

mortidad2006 Tue, 01/22/2008 - 09:25

thanks for the reply..

i m not that good in this so some of my questions might sound pretty silly..but

if i wanna use this SEPxxxxx that should come from the phone in my javascript in my asp-page... what exactly is the line for a definition like..

var mydevicename = name;

how do i get this SEPxxx-string in the mydevicename variable, so i can use it there?

thanks

Paolo Bevilacqua Tue, 01/22/2008 - 15:06

Hi, I don't know anything about javascript and asp, but the parameters after ? are what actually make the HTTP GET query, so it depends by the language that you use how the variable is accessed. in this case it seems to me that "mydevicename' will contain whatever is passed as "name=" in the query.

Actions

This Discussion