Re: i'm getting a error on this peticular s - WeOnlyDo Discussion board

Re: i'm getting a error on this peticular s (General questions)

by FDSJK, Sunday, November 25, 2007, 20:16 (5998 days ago) @ wodDamir

Hi,

You should try something like this:

wodHttp1.Request.UserAgent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)

or this:

wodHttp1.Request.Headers.Add User-Agent , Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)

Both should have the same result. Can you try those?

Regards,
Damba

OK, now i did that but now i can't get it to submit the form...

[code] wod(0).Disconnect
wod(0).Request.Headers.Add User-Agent , Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
wod(0).Blocking = True
wod(0).Get https://website.com/login.php
wod(0).Tag = user@user.com:pass
wod(0).URL = https://website.com/login.php
wod(0).Secure = ProtAll
wod(0).Request.FormPost.Add email , Split(wod(0).Tag, : )(0)
wod(0).Request.FormPost.Add pass , Split(wod(0).Tag, : )(0)
wod(0).Post https://website.com/login.php
[/code]


Complete thread: