When I try to access that page from REV however, I get treated with the generic response a person without a login would get treated. I am definitely not an expert on http and web access but I did find a discussion in this forum that got me started on something. As a result I can find the cookies that get generated in my REV process bit I don't know what to do with them when I get them.
I have a very simple stack for testing. One field called 'LogField' and one button called 'Laumch'. The script for the button is the following:
Code: Select all
on mouseUp
put empty into field "LogField"
libURLsetLogField "LogField"
put "http://www.investors.com/StockResearch/Quote.aspx?symbol=MSFT" into myURL
put url myURL into myRetrieve
put libURLLastRHHeaders() into tRHheaders
put "" into tCookies
repeat with i = 1 to number of lines of tRHheaders
If offset("Set-Cookie:", line i of tRHheaders) = 1 then
put line i of tRHheaders & return after tCookies
end if
end repeat
if tCookies > "" then
--set the httpHeaders to tCookies
--put url myURL into myRetrieve1
--put offset("Group RS Rating",myRetrieve1) into tSpot
else
answer "Cookies not found."
end if
end mouseUp
Any help you can give me will be appreciated.
Thanks in advance,
Larry