How to share a single http session across multiple http posts

2004-10-13 Thread Beg, Mohsin
Hi, I have a need where I need to do multiple separate posts to a URL but need all the posts to share the same session context. I am able to do the initial login to a URL successfully as shown below. It is unclear to me how to reuse any instances or set some parameters to make sure that all

RE: How to share a single http session across multiple http posts

2004-10-13 Thread Beg, Mohsin
Hi, Never mind my email. I was posting to an incorrect URL that is why, I was not able to share sessions with any subsequent posts, using the same httpclient instance. Sincerely, -Mohsin -Original Message- From: Beg, Mohsin [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004

UTF-8 Encoding Enquiry

2004-10-13 Thread Ramiel Fong
Hi~! Thanks in advance for those who will be looking into my problem. I am having difficulty in sending chinese characters via postmethod. // Create an instance of HttpClient HttpClient httpclient = new HttpClient(); // Create a method instance PostMethod postmethod = new PostMethod(url); //

Re: UTF-8 Encoding Enquiry

2004-10-13 Thread Oleg Kalnichevski
Ramiel, I think you came pretty close. Two things require minor corrections (1) Content-Type HTTP POST per default uses so called URL encoding when submitting HTML forms. Setting the content type to 'text/plain' may cause some web servers to misinterpret the request parameters Try this instead

DO NOT REPLY [Bug 31607] - Catch SocketTimeoutException not InterruptedIOException

2004-10-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=31607. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 31680] - DefaultHttpParamsFactory.getDefaultParams() is not thread safe

2004-10-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=31680. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.