Jump to content

_IECreate URL data not present


Recommended Posts

Hi all

The topic isn't very clear.

I am launching a browser session using IE.au3 and _IECreate, but want to supply some additional information in the URL that the ASP server can read and use during that session.

When I create an IE instance with _IECreate("default.aspx?data=123456&info=hello") the browser is created and displays "default.aspx" in address bar. If I use _IENavigate with the same details, it then shows the full URL. This doesn't happen with tests on other pages with .html type... but as far as i'm aware the ASP page doesn't perform any reload etc.

Is this a quirk or is it liekly something related to the ASP page itself (I don't have the source)(or am I missing something !)

#include <IE.au3>
#include <Array.au3>

Global $oIE
$oIE = _IECreate("http://site/default.aspx?data=123456&info=Hello",0) ;opens with just 'default.aspx'
_IENavigate($oIE,"http://site/default.aspx?data=123456&info=Hello") ;reloads with full URL

Any pointers appreciate - if this is a quirk etc, can save me hours of tinkering :unsure: TIA

Link to comment
Share on other sites

Hi plastix,

I tested it with:

http://www.update.microsoft.com/microsoftupdate/v6/default.aspx?ln=en

and

http://www.update.microsoft.com/microsoftupdate/v6/default.aspx?ln=de

and it worked just right.

Maybe it's really a problem with your asp site.

:unsure:

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...