I have a VFP 8.0 program which needs to automatially log into a website by providing my login name and password. This is necessary to access certain member only areas which my subscription allows me to see, but not casual users.
It appears that each page looks to see if the user is logged in before presenting the actual data page. I wonder if this is done with a cookie which needs to be created before actually navigating to the page.
I am currently using ic=CREATEOBJECT("inetctls.
inet") to get a connection to the page(s) using
The page opens, but checks something to see if I'm logged in , does not find it and presents an option to login without showing the content of the actual page.
On normal pages, I use STRTOFILE(pagecontents, "e:\THISdata.htm") and then open the file for parsing using infile=FOPEN("e:\THISdata.
thisline = fgets(infile)
....... test if required data in this line
....... continue to read in thisline=fgets(infile)
This sequence works fine, if the page does not need the user to be looged in.
BTW, I AM a paid subscriber to this website, so I'm not trying to get data which I am not supposed to see.
Please include working code if answering this question, generic answers will not be considered.
Thanks for your help.