Jump to content

IE.au3 to get HTTP Header


Recommended Posts

hey everybody. I didn't managed to find using search function so i ask you.

I'm using IE.au3 and WebBrowser to do some actions on a website, but now i need to find a value which is in the HTTP Header. Is possible to get it with IE?

I had an hope with BeforeNavigate2 Event (http://msdn.microsoft.com/en-us/library/aa768326%28v=vs.85%29.aspx) but seems to not work.

I found the _IEPropertyGet('referrer') but i'm interested by the 'set-cookie' property.

If not possible, is there any other way to get the cookie from IE? I explain, i work on an internal website, and depending on the workload, the server is not the same. I want to know which server has worked and it's only written in the 'set-cookie' of my HTTP Header. I only need to get it to save it in my datas.

Thx for help,

Tim

Edited by timmalos
Link to comment
Share on other sites

;)

Edit: The point was that if you read the .cookie property, you get a single string containing all of the active cookies.

:)

Edited by PsaltyDS
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Thx a lot ! Do you know where i can find a list of properties of a document?

Edit : Found on MSDN, thx again !

http://msdn.microsoft.com/en-us/library/ms531073%28v=VS.85%29.aspx

Edited by timmalos
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...