NetTalk Central

Author Topic: How to check explorer version  (Read 3906 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
How to check explorer version
« 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to check explorer version
« Reply #1 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

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: How to check explorer version
« Reply #2 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
-----------
Regards
Alberto

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: How to check explorer version
« Reply #3 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to check explorer version
« Reply #4 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