Kevin,

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?

Thanks,
-Shital
----- Original Message -----
From: Kevin Mukhar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 25, 2000 9:05 AM
Subject: Re: Maintaining session (passing cookie!) between Servlet and
Applet


> Shital Kanitkar wrote:
> >
> > I need to know how to maintain a session between an Applet and Servlet.
In
> > my case, the user logs in and the system allows him features as per his
Id
> >  an administrator will have more features than an ordinary user for
e.g.)
>
>
http://archives.java.sun.com/cgi-bin/wa?A2=ind0009&L=servlet-interest&P=R146
67&m=34138
>
http://archives.java.sun.com/cgi-bin/wa?A2=ind0008&L=servlet-interest&P=R970
87
>
>
___________________________________________________________________________
> 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
>

___________________________________________________________________________
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