can't identify url of a webpage-sending data using post method
Posted by ancy anna
on 09/25/2004 02:46am
i have a web page with 2 submit buttons(next and Previous) and the form action attribute is set as "post".Then how can we identify the url of next or previous page.Also how can we access to the source html of this URL.
I want to connect to HTTPS password server to authenticate login&password and to get Cookie.
Using HttpQueryInfo to get Cookie data from the handle of HttpOpenRequest after calling
HttpSendRequest successfully. With the Cookie data, again I want to connect to the HTTPS web
sever to Upload a file.
The above whole concept is working fine in VC++ 6.0, Win2000 Prof. But, HttpQueryInfo fails
to get Cookie data when I use the same code for Pocket PC 2002 with Windows CE and eVC++ 3.0.
Even if HttpQueryInfo succeeds, it is not retrieving the proper Cookie data.
I want to know whether Windows CE & Pocket PC 2000 supports HttpQueryInfo API. If it supports,
Pls let me know the proper code.
Pls help me.
Thanks and Regards,
Shan ( firstname.lastname@example.org )
InternetWriteFile doesn't work and gives ERROR_INTERNET_INCORRECT_HANDLE_STATE error. I want to PUT data. HttpSendRequest(hHttpRequest, NULL, NULL, "Header", 6) works & write the word Header in the uploaded file but InternetWriteFile doesn't work. If any body can give a simple or modify my code so that it'll work. Following it the code.