Welcome! Log In Create A New Profile

Advanced

HTTPREQUEST and login issue

Posted by gdelucce.pcs.crosspost 
gdelucce.pcs.crosspost
HTTPREQUEST and login issue
May 18, 2009 12:22PM
Hi all,
I am trying to develop a small web browser for testing purposese in win dev 12. everything runs fine, but i hae an issue with the httprequest() function in viewing pages that require login, such as www.globallab.it/documenti.
I am calling the function as
ResReq = HTTPRequest("www.globallab.it/documenti","","","","","myuser","mypassword")

but I receive the default page saying me I am not authorized to view the page becuse I am not logged in.

Viewing the page with a browser such as IE7 or FF3 works fine. Any ideas?

Message forwarded from pcsoft.us.windev
KenKnight
Re: HTTPREQUEST and login issue
May 19, 2009 03:10AM
Hi,

This sounds like a header issue. Parse the http headers after to you do the login and display them in a trace window. Also use a program called Wireshark or other TCP packet sniffing software of your choice to compare the headers between when IE handles it and then mimic that if possible.

Cheers!
Ken
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: