Jump to content

Script Browses To A Completely Different Page


Recommended Posts

got a quick question. if i open internet explorer and manually type a link that i have a script going to it goes to a different page then the page the script goes to.

both urls are the same

im using _IENavigate in the script to goto this url

i dont know if its a cookie deal because lets say i goto https://login.mycompany.com in internet explorer

it gives me a login and password prompt.

well if i exit out of IE and run the script it goes to https://login.mycompany.com but goes to the page after asking for the login. but nowhere in the script do i have it set to login.

does it keep its own cookies or something?

Link to comment
Share on other sites

I'm not following you here in this part:

i goto https://login.mycompany.com in internet explorer

it gives me a login and password prompt.

run the script it goes to https://login.mycompany.com but goes to the page after asking for the login.

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

Dale,

Let me explain in more detail.

I start IE and browse to https://mycompany.com and it gives me a login and password prompt. so i quit my browser

----------------------------

then i run my script that all the code does it IENavigate to that same page but when the script goes to that page it does not give me a login and password prompt

Link to comment
Share on other sites

It's probably assigning a cookie with either

a) unlimited logins until you click "clear cookies"

:) x number of logins or until you click "clear cookies"

So, if you want to have to sign in every time you can make a script that deletes cookies for you, i s'pose.

~cdkid

AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!
Link to comment
Share on other sites

Dale,

Let me explain in more detail.

I start IE and browse to https://mycompany.com and it gives me a login and password prompt. so i quit my browser

----------------------------

then i run my script that all the code does it IENavigate to that same page but when the script goes to that page it does not give me a login and password prompt

Are you talking about a username/password prompt in the HTML page or a popup? If you don't get the prompt are you getting access to the page as though you had logged in or what?

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

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...