Yes, i did. It works in a browser.
I'm using now HttpClient v4-Alpha. i had to change lot of codes and now
somehow it works.
thank you again.
neil al wrote:
Have you tried opening the site on a normal browser(i.e. Firefox and IE)?
On Thu, Jul 10, 2008 at 8:58 PM, Ilhami Visne <[EMAIL PROTECTED]>
wrote:
Hi All,
I extract some infos from a website. This website checks the browser
type of the user. If it is not a wellknown browser like firefox,ie
etc., it gives an error message like your browser doesn't support
frames.
I set my user agent as this:
getmethod.getParams().setParameter(HttpClientParams.USER_AGENT,
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)");
This way my program ran for almost 2 years without a problem. But
today it simply didn't work. I think, somehow the web server guess
right my browser( HTTPClient), because i get the error "your browser
doesn't support ....".
Has the web server now become smarter? How can i let it believe that i
am using e.g. firefox?
thanx.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]