Is there any way to detect 302 redirects within the web browser control that I don’t know of? Maybe some kind of magic with the underlying unmanaged control?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, it’s not possible with the normal WebBrowser control. Doing anything with the underlying unmanaged control looks very complex, if that’s what you’re after you could have a look at
http://www.codeproject.com/KB/miscctrl/csEXWB.aspx though:
That includes being able to view page headers, which is what you’d need to do to detect the HTTP redirect.