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 , (6414 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 , (6414 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 , (6414 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 , (6413 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 , (6413 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 , (6413 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 , (6413 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 , (6413 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 , (6412 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 , (6411 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
Your component works really great. With minor effort I have been able to convert my delphi application...
Many thanks for your excellent support service. I can see why you have a long list of excellent testimonials on your website.
...not only that you provide these components at very reasonable cost, your responsiveness to emailed technical questions is simply outstanding...
Your support is fantastic.
...I'm extremely impressed with the product, it represents excellent value for money...
It was no small factor, however, that your support in getting me up and running made me buy from you.
We have recently completed a large 1200+ location project where reliable Telnet and SSH connectivity was required. wodSSH worked flawlessly and allowed our staff to complete our project ontime and within budget.
...with a minimum of effort as the DLL interface was written with such simplicity...
You did a great job on wodSSH and wodSSHServer! I got a lot for very little money. Thanks!
Thank you for the great customer service ... I am really impressed with the wodSSH ActiveX control.