i'm getting a error on this peticular server (wodWebServer / wodWebServer.NET)
it's giving me a incompatible browser error is there a way i can fix that?
it's giving me a incompatible browser error is there a way i can fix that?
by wodDamir , (6438 days ago) @ fdjk sdjk
Hi,
Did you perhaps try setting User-Agent header?
Can you try setting it to Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) ?
Can you load that site using an IE or firefox? I would suggest that you try opening it using IE, while using IEWatch in order to see what exactly is sent. That way you can mimic the same behaviour as a normal browser.
Hope I helped.
Regards,
Damba
by dsfsd , (6438 days ago) @ wodDamir
Hi,
Did you perhaps try setting User-Agent header?
Can you try setting it to Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) ?
Can you load that site using an IE or firefox? I would suggest that you try opening it using IE, while using IEWatch in order to see what exactly is sent. That way you can mimic the same behaviour as a normal browser.
Hope I helped.
Regards,
Damba
yeah i tried that but i'm not sure how i would code it like that like i tried wod(0).useragent = blah but its giving me a invalid property error like saying that the property does not exist but i searched in project explorer and its there so perhaps you could show me how i would code it?
by wodDamir , (6438 days ago) @ dsfsd
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
by FDSJK , (6437 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]
by wodDamir , (6437 days ago) @ FDSJK
Hi,
But what happens? What error do you get?
Can you be more specific? What response do you receive?
Regards,
Damba
by dsfdsfk , (6437 days ago) @ wodDamir
Hi,
But what happens? What error do you get?
Can you be more specific? What response do you receive?
Regards,
Damba
its not giving error its just showing the page source and it has the value of e-mail as emailiput@blah.com but the password it doesn't say anything i assume this is because the input is type: password but it is not submitting the data...like it sets the fields but when i do the post command its like it's not submitting the data...
by fjksdj fdsjk , (6437 days ago) @ dsfdsfk
Hi,
But what happens? What error do you get?
Can you be more specific? What response do you receive?
Regards,
Dambaits not giving error its just showing the page source and it has the value of e-mail as emailiput@blah.com but the password it doesn't say anything i assume this is because the input is type: password but it is not submitting the data...like it sets the fields but when i do the post command its like it's not submitting the data...
sorry for double post but i just looked at the data thats bein returned again it is also telling me to enable cookies.
by wodDamir , (6437 days ago) @ fjksdj fdsjk
Hi,
Can you please set AutoRedirect Property to true?
Also, regarding the cookies, I would suggest that you try with my previous suggestion (IEWatch/HttpLook) in order to see what cookies are passed, and try setting them in code.
You should check Response for cookies, and set the request accordingly. You can add a cookie into the collection the same way as you would add a Header item.
Regards,
Damba
by wodDamir , (6436 days ago) @ wodDamir
Hi,
Please try adding something like this in your code:
http1.Request.Headers.Add User-Agent , Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
http1.Request.Cookies.Add test_cookie , 1
http1.Request.FormPost.Add email , your email
http1.Request.FormPost.Add pass , your password
http1.Request.FormPost.Add charset_test , â?¬Â´â?¬Â´ć°´Ä?Ä?
http1.Post your site
I believe this should get you to the redirection page. However, I would once again suggest that you try the HttpLook or IEWatch and watch what other browsers send. That way you can accomplish the same in wodHttpDLX.
Regards,
Damba
by sjks sdjk , (6435 days ago) @ wodDamir
Hi,
Please try adding something like this in your code:
http1.Request.Headers.Add User-Agent , Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
http1.Request.Cookies.Add test_cookie , 1
http1.Request.FormPost.Add email , your email
http1.Request.FormPost.Add pass , your password
http1.Request.FormPost.Add charset_test , â?¬Â´â?¬Â´ć°´Ä?Ä?
http1.Post your siteI believe this should get you to the redirection page. However, I would once again suggest that you try the HttpLook or IEWatch and watch what other browsers send. That way you can accomplish the same in wodHttpDLX.
Regards,
Damba
yea that worked thank you
May I say how nice it is to work with components so complete and self-explanatory that using them in my application is as instinctive as though I wrote them myself?
Your .NET components allow us to blend .NET technology seamlessly with secure communication, and with excellent technical support.
Your professionalism is reflected into your email, your product and your web site. I am confident that these will make the difference.
Your component works really great. With minor effort I have been able to convert my delphi application...
I can only hope I will have the pleasure to work with other products by "We Only Do" in the future.
Your .NET components allow us to blend .NET technology seamlessly with secure communication, and with excellent technical support.
Your customer service was excellent, and I will look at your products in the future for precisely that reason.
The wodCrypt product is great and we appreciate your effort to add support for UNIX Crypt.
The wodCrypt product is great and we appreciate your effort to add support for UNIX Crypt.
Your customer service was excellent, and I will look at your products in the future for precisely that reason.