Vidyasagar Guduru wrote:
>
> I want to send a cookie information through a stand
> alone program please provide any Idea that how I can
> do this?
Search of jguru servlet-faq for "Cookie" finds
http://www.jguru.com/faq/view.jsp?EID=85187
Here's good cookie site: http://www.cookiecentral.com
Also, See RFC 2109, RFC 2964 and RFC 2965 at
http://www.ietf.org/rfc.html. Here are the most basic requirements:
Section 4.2.1 from RFC 2109: ".....To initiate a session, the origin
server returns an extra response header to the client, Set-Cookie."
Section 4.3.4: "When it sends a request to an origin server, the user
agent sends a Cookie request header to the origin server if it has
cookies that are applicable to the request..... The syntax for the
header is:
cookie = "Cookie:" cookie-version
1*((";" | ",") cookie-value)
cookie-value = NAME "=" VALUE [";" path] [";" domain]
cookie-version = "$Version" "=" value
NAME = attr
VALUE = value
path = "$Path" "=" value
domain = "$Domain" "=" value
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html