Status Code 500

I'm having a problem getting logged into a site.
I get a Status code: 500 and don't get logged in.
Here is the site:http://gatewayfsb.lpx.com/v40/BuildPage.aspx?Page=58
I'll email the userid and pwd to scott.

Thanks

Thanks

Thanks Scott.

Bartman, It looks like the

Bartman,

It looks like the site just wanted two cookies to be set manually. There is a session string that you'll need to grab first and pass it in as part of the value of the cookies.

As your first scrapeable file request the following URL. Pass Page=58 as a GET parameter.

http://gatewayfsb.lpx.com/v40/BuildPage.aspx

In this scrapeable file extract the following and save as a session variable.

wsuid=~@wsuid@~'

As your second scrapeable file request the following URL. Do not pass anything in as either GET or POST.

https://lpx.com/v40/Login/Login.aspx

Create a script and enter the following in your script.

session.setCookie("lpx.com","$Version","1Style=/v40/Styles/style3/style.css,/v40/ContentBuilders/WriteStylesheet.aspx?wsuid=" + session.getv("wsuid"));

session.setCookie("lpx.com","PLV","WebsiteUID=" + session.getv("wsuid") + "&LenderName=CorpPro&ClientPath=/v40/clients/Gateway");

Then, call the script from your second scrapeable file before running the scrapeable file.

You should then be able to login and download your file.

-Scott