I'm using the HTTPRequest command to login to a website and then
run a carrier rate quote. I'm not too sure how I can do this with Windev
but, when I log in, everything works as expected. However, when I
then redirect the command to a different page, it seems that the program
"loses" authentication. (for lack of a better term)
Here's my sample:
bPageRet is boolean
bRateRet is boolean
sAuthURL is string = "[works.pittohio.com];
sRateURL is string = "[works.pittohio.com];
sUserName is string = "demo"
sPassword is string = "demo"
bPageRet = HTTPRequest(sAuthURL,"","","","","",sUserName,sPassWord)
IF bPageRet = True THEN
bRateRet = HTTPRequest(sRateURL)
IF bRateRet = True THEN
Info("HTML Code Returned = " + HTTPGetResult())
END
END
The website is returning the "menu" page after login but after I redirect,
its saying that I have to authenticate.
Is there a way to save cookied in Windev? or are cookies not my issue.
TIA