开发者

can webserver recognize webbrowser control vs internet explorer software when user load page?

开发者 https://www.devze.com 2023-01-15 15:00 出处:网络
can webserver recognize webbrowser control vs internet explorer software when user load page ? if i load page through webbrowser control in c# i get \"500 server error\"

can webserver recognize webbrowser control vs internet explorer software when user load page ?

if i load page through webbrowser control in c# i get "500 server error" when i do it in the internet ex开发者_C百科plorer software it work o.k.

why there is diffrent behevior and how i can manage that ?

thanking in advance.


That sounds like maybe it is reacting to a different cookie value or similar. WebBrowser is IE (to most purposes). A 500 is at the server, but WebBrowser is the client.

You might be able to hook WebBrowser to supply a different user-agent, but by default it should appear the same.

0

精彩评论

暂无评论...
验证码 换一张
取 消