yes4me
asked on
Simple question about cookie and Java 1.4
I know how to do it in ASP and Javascript, but I am a complete novice when it comes to Java.
Can you write a program in Java (or Java applet if it is not possible in Java) that would write values, expires, domain, path, secure properties to a few cookies, and read the cookies?
If it is not feasible to have many cookies in Java or Java applet, just show me how to make one and read it.
Thanks in advance.
Can you write a program in Java (or Java applet if it is not possible in Java) that would write values, expires, domain, path, secure properties to a few cookies, and read the cookies?
If it is not feasible to have many cookies in Java or Java applet, just show me how to make one and read it.
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
U can use cookies with java servlets.
check the below sites for more info...
www.jguru.com
java.sun.com/servlets
check the below sites for more info...
www.jguru.com
java.sun.com/servlets
manshan,
Thats an original comment.
Thats an original comment.
Your applet can get/set cookies values from the http headers.
This site may also help you:
http://www.cookiecentral.com/faq/
This site may also help you:
http://www.cookiecentral.com/faq/
Did you need any more information?
ASKER
Please give me a little more time to invest. I will give you the points as soon as I am done.
ASKER
Thanks you.
ASKER