Jump to content

How to read IE cookie file and put contents into array


charon
 Share

Recommended Posts

I need to read an already created cookie file called "account" from IE 8 on Windows 7 and put into array.  I just need an example.  I know I have to use _IEDocGetObj but I do not know how to use it with cookies.  Can I just load the cookie file into an array and read it?

#include <IE.au3> 
#include <MsgBoxConstants.au3>
Local $oIE = _IECreate("http://www.google.com") 
Local $oDoc = _IEDocGetObj($oIE)

$sCookie = ;path to cookie maybe?
$oDoc.cookie = $sCookie
Link to comment
Share on other sites

it is in the tempory internet files folder

Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

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