How to change User Agent string frequently?



Hi,

I'm using:
UrlMkSetSessionOption(URLMON_OPTION_USERAGENT, UserAgent,
strlen(UserAgent), 0);
to set the User Agent string and it works. I'm simply using the
WebBrowser control to embed a little webbrowser functionality in my
app. but once I call UrlMkSetSessionOption() and change the user agent
string it cannot be changed with further calls :(

Can I anyhow change the user agent string multiple times?
Thanks in advance,
Mladen.

.



Relevant Pages

  • Re: TurboTax.com (Here we go again...)
    ... is a User Agent string on an XP system with FireFox 3.0.5. ... set the alternate useragent header without installing a plugin. ... We just installed the windows version of Firefox ...
    (Fedora)
  • Re: VB6 : WebBrowser Control : Disablign JavaScript support
    ... That's not due to UA, window size, ... I just tested the User Agent string ... and both the web browser control and IE use the same User Agent ...
    (microsoft.public.vb.general.discussion)
  • Re: Netsurf and User Agent faking
    ... NetSurf doesn't currently do this. ... the user agent string can only be changed at compile ... In some ways I would like not to use faking, ...
    (comp.sys.acorn.apps)
  • Re: TurboTax.com (Here we go again...)
    ... is a User Agent string on an XP system with FireFox 3.0.5. ... simply add this to User Agent Switcher. ... set the alternate useragent header without installing a plugin. ...
    (Fedora)
  • Re: TurboTax.com (Here we go again...)
    ... is a User Agent string on an XP system with FireFox 3.0.5. ... We just installed the windows version of Firefox ... You can also install the User Agent Switcher Firefox extension to ...
    (Fedora)

Loading