NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on May 22, 2009, 06:54:10 AM

Title: How to check explorer version
Post 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
Title: Re: How to check explorer version
Post by: Bruce on May 24, 2009, 09:47:23 PM
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
Title: Re: How to check explorer version
Post by: Alberto on May 25, 2009, 06:16:41 AM
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
Title: Re: How to check explorer version
Post by: Alberto on May 25, 2009, 06:21:41 AM
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
Title: Re: How to check explorer version
Post by: Bruce on May 25, 2009, 08:04:04 AM
Look at the incoming list on your web server window.
You can see the header of incoming requests there.

Cheers
Bruce