Jump to content
Sign in to follow this  
rundmv

Workaround for IE URL's maximum length?

Recommended Posts

rundmv

I am trying to do a HTTPS transaction. I tried the HTTP.au3, but it doesn't work for HTTPS. So, I tried using the IE.au3. It works for some of my transactions, but then I started getting errors for some of the longer transactions (The requested action with this object has failed). Apparently, IE has a maximum URL length of 2083 characters. I can paste the same transaction into Firefox, and it works. But when I paste into IE, the entire string doesn't fit.

Any ideas on how to get around this problem?

Share this post


Link to post
Share on other sites
sigil

You can make big URLs small at tinyurl.com. Maybe you can have a function that opens an instance of IE that goes to tinyurl, submits your long URL, reads the shortened URL, and returns it.

Share this post


Link to post
Share on other sites
rundmv

I tried tinyurl, and the URL returned (for the long URL) does not work in IE ("Internet Explorer cannot display the webpage"). It does work in Firefox.

Has anyone been able to implement SSL with AutoIt, perhaps via the Win32 API?

Share this post


Link to post
Share on other sites
Polyphem

Try cUrl http://curl.haxx.se/ with run's stdin and stdout options. Or maybe switch from GET to POST method, I've never seen sites using such large query-strings in GET.

Edited by Polyphem

This post will be edited again by Polyphem: Tomorrow, 11:55 AM

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  

×