01-22-2008 09:02 AM - edited 03-13-2019 04:53 PM
Hi,
i added the ?name=#DEVICENAME# to my phoneservice.
how can i use this info in my called asp-page.
thanks
01-22-2008 09:19 AM
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.
01-22-2008 09:25 AM
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
01-22-2008 03:06 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide