Jump to content
Sign in to follow this  
ohaya

AutoIT and Internet Explorer and cookies?

Recommended Posts

Hi,

I am new here, and just starting to use AutoIT (with CyberArk)...

I am using AutoIt to run Internet Explorer, to automate logins with CyberArk.  I can get the login working but then when it tries to go to the target, it is being redirected to the login page.

From debugging, it looks like after the login, the target IIS is sending a set-cookie but then when the IE sends the next request, it is not including that cookie, so the IIS is not accepting the request to the target and redirecting the browser to the login page.

If I run the same page directly, with the same IE, it works fine.  I login, and then the browser goes to the target page.

So I am guessing that when IE is running "under" AutoIT, it may not be accepting or persisting the cookie that is sent by the IIS server.

Is there something additional I need to do in the AutoIT script in order to allow the IE to accept and persist the cookies?

Thanks,

Jim

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...