PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV (précédentes versions) → HTTPRequest - need to login before - HELP HELP HELP
HTTPRequest - need to login before - HELP HELP HELP
Débuté par Hamza AZRI ( Hamza ), 13 oct. 2011 18:40 - 3 réponses
Membre enregistré
22 messages
Posté le 13 octobre 2011 - 18:40
Hello everybody,

how to login on a website using HttpRequest. I try to fill the tow latest parameters in the function but without success.

really I need a solution for this problem, any help will be welcome.

Thanks for person how think to others and try to help them.

PLEASE HELP
Membre enregistré
22 messages
Posté le 16 février 2012 - 23:19
Realy I need HELP

Thanks in advanced
Posté le 17 février 2012 - 08:20
Hi hamza

most of the time, when you don't get an answer, it's because your
question is not clear enough. You should try to ask again differently,
and this time with your CODE (the one that doesn't work), so that we
have a chance to understand what you are talking about and help you

Best regards


--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International

Plus d'information sur http://fabriceharari.com/index_FR.html


On 13/10/2011 12:22, Hamza AZRI ( Hamza ) wrote:
Hello everybody,

how to login on a website using HttpRequest. I try to fill the tow latest parameters in the function but without success.

really I need a solution for this problem, any help will be welcome.

Thanks for person how think to others and try to help them.

PLEASE HELP

Membre enregistré
22 messages
Posté le 17 février 2012 - 17:14
OK I will ask differently my question.

I have a web page that I need to extract her source code (HTML code) but to access to this page I have to login before, in another web page (form in witch I provide my login and password and then I clic on submint button).

After login I will be redirected to the page I want, this page (https://www.attijarinet.com.tn/netsudf/site/comptes.jsp).

Regarding the code I use it's so simple that's why I didn't send it on the form but if it can help, it's this :
//*****************************************************************************//
HTTPRequête("https://www.attijarinet.com.tn/netsudf/site/loginclient.jsp","Mozilla/5.0 (Windows NT 5.1; rv:10.0.1) Gecko/20100101 Firefox/10.0.1","login=*********&password=***********&saction=envoyer&Envoyer=Entrer","","*************","**********")
SI ErreurDétectée ALORS
ErreurInfo(errComplet)
FIN
SAI_Texte1=HTTPDonneRésultat(httpRésultat)
//*****************************************************************************//

Even I remove the third parameter <Message to Send> that I recover using Firebug on "Network" tab, it don't work.


Hope I was being clear in my explanation, every suggestion or help will be welcome.

Best regards.