Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Mon, 19 May 2008 17:00:16 -0300,    group: microsoft.public.xml        back       


mobile browser in desktop browser   
Hi and tks a lot for your time!

I put a nice fake mobile phone screen on my site and a textbox where 
visitors can enter an URL to see how it looks when browsing through a real 
mobile phone.

I'm trying this:


Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
xml.Open "GET", "http://www.google.com", False
xml.setRequestHeader "User-Agent", "SonyEricssonK608i/R2L/SN356841000828910 
Browser/SEMC-Browser/4.2 Profile/MIDP-2.0 Configuration/CLDC-1.1"
xml.Send
If err.number = 0 then xmlres = xml.responseText


But this code doesn't work the way I thought, 'cause the destination server 
seems to be ignoring the "user-agent" header instruction, using the desktop 
browser (IE, FF) string instead

HOW CAN i get this to WORK?

Any help will be greatly appreciatted!

Ariel
date: Mon, 19 May 2008 17:00:16 -0300   author:   AllisonJ

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us