Help with Jakarta HttpClient Cookies

Discussion in 'Java' started by Richard, Apr 26, 2004.

  1. Richard

    Richard Guest

    I have an HttpClient application and I want to set a cookie in the
    request header and send it along with the req. to the server.

    I have tried method.addRequestHeader and method.setRequestHeader
    without success. The method calls do not set cookies. (I verified
    that you can set other types of headers with them.

    Can someone please instruct me on how to set a Cookie in my request?

    Thanks
    Richard (willirl)
     
    Richard, Apr 26, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alex Hunsley
    Replies:
    1
    Views:
    6,402
    Alex Hunsley
    May 28, 2004
  2. Michael Fortin
    Replies:
    1
    Views:
    5,765
    John C. Bollinger
    Oct 12, 2004
  3. Wil Hadden

    Jakarta HttpClient POST question

    Wil Hadden, Nov 8, 2004, in forum: Java
    Replies:
    11
    Views:
    3,722
    blueray
    Jul 1, 2009
  4. Rachel
    Replies:
    0
    Views:
    864
    Rachel
    Oct 17, 2005
  5. Paladin
    Replies:
    0
    Views:
    698
    Paladin
    Aug 15, 2007
Loading...

Share This Page