Source code examples at http://pages.about.com/kmukhar/

Cookie management probably can't be handled by an applet. Look at how
the two major browsers handle cookies: the browsers save the persistent
cookies to the local hard drive. Unsigned applets are not allowed to
write to a local hard drive.

Shital Kanitkar wrote:
>
> I did look up all these trails, and per se, I do know how to use
> response.addCookie (not "set-cookie", Sun advises not to use this directly)
> , request.getCookies, request.getSession(true), session.getValue("name")
> etc. But this is only if I am using HTML as the front-end, not Applets.
>
> My problem is with the exact sequence of statements. All I know is, to pass
> values between Applet and Servlet, you stream serialized objects. So when
> you need to pass cookies, how do you set it up at both ends, since cookies
> are not serialized objects? How do you pass the cookies back and forth?
>
> Second question, some cookies are required to be persistent at the clients
> end (e.g. to remember the user login and password). Can this be managed
> using Applets? If so how? Do you need to use private/public keys and policy
> tool?

___________________________________________________________________________
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

Reply via email to