Hello Lalit,

> But there is Cookie class in httpclient package.
> 
> Can't we use that for managing expiry date?

Cookies are sent by the server.
They are kept as Cookie objects on the client.
The expiry date is sent by the server.
It is kept in the Cookie object on the client.

Please read some background information on cookies.
http://jakarta.apache.org/commons/httpclient/cookies.html
http://www.w3.org/Protocols/rfc2109/rfc2109.txt
http://tomcat.apache.org/tomcat-4.1-doc/servletapi/javax/servlet/http/Cookie.html

regards,
  Roland

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to