NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on May 22, 2009, 06:54:10 AM
-
Hi,
How to check the explorer version and suggest to upgrade it?
In a desktop machine to be sure the user has the most recent version.
In a mobile device to be sure the explorer runs javascripts.
Thanks
Alberto
-
Hi Alberto,
p_web._GetHeaderField ('User-Agent:')
returns the contents of the user-agent setting in the header, as passed by the browser.
That's all you get from the browser (and tip - they often lie.)
Cheers
Bruce
-
Hi Bruce, just for future reference,
Using p_web._GetHeaderField ('User-Agent:')
I get a Invalid prototype, the function has more arguments.
I´d tryed with
p_web.GetHeaderField ('User-Agent:')
And it works ok
Thanks
Alberto
-
Bruce:
Do you have a list of other arguments I could pass to the p_web.GetHeaderField() to retreive client or server data?
Thanks
Alberto
-
Look at the incoming list on your web server window.
You can see the header of incoming requests there.
Cheers
Bruce