Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
  1. #21
    somesh A is offline Member
    Join Date
    Apr 2009
    Posts
    5
    Rep Power
    0

    Default dought

    hi,is your application(setting cookis to url connection) working fine?im geting IllegalStaeException if i am trying to use ur code,i suspect u r already opened the connection i.e urlConn = (HttpURLConnection) url.openConnection();after this ur trying to call serRequestProperties(),did'nt u get IllegalStaeException?

  2. #22
    Mrs. Deswal's Avatar
    Mrs. Deswal is offline Member
    Join Date
    Apr 2009
    Location
    Gurgaon,India
    Posts
    24
    Rep Power
    0

    Default

    hi,
    I have done form based authentication using HttpClient.

    After doing authentication the server sends cookies to us. I have saved that cookie locally.
    Now I want to send that cookie to server again on same site so that i will be authenticated to that site.
    I have tried many codes of sending cookie to server. I am unable to accomplish this task yet.

    Please any one can help me in giving code for sending cookies.

    Its urgent.

    Thanks a lot in advance.
    Sharing knowledge means gaining more knowledge.:)

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 4
    Last Post: 10-15-2008, 02:59 PM
  2. cookies
    By lukky in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 09-02-2008, 08:46 PM
  3. JSP cookies example
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-15-2008, 04:11 PM
  4. cookies question
    By sandor in forum New To Java
    Replies: 1
    Last Post: 05-09-2007, 01:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •