On Fri, 19 Nov 1999 13:05:01 -0500, Imam, Asim, CFCTR <[EMAIL PROTECTED]> wrote:
>
>My question is, throughtout this will my session be maintained that I
>created when I logged in, I mean when I use Applet to servlet comm., how
>would the client Applet send session information??? To my knowledge that
>would create a new session because the sessions are mainted via cookies (I
>think) or url-rewriting. I was thinking if that was the case then I can
>embed the applet in JSP and somehow(this is where I am lost) is have the
>session information as the parameters to the applet and when I build the url
>to send to the servlet, I could do some URL-Rewritting thing??? Am I wrong
>there? Any suggestions on how to do this.
Typically, when you're using Applets, you may not require server side sessions, since
your applets can maintain sessions and state. It now becomes the applet's
responsibility.
But if you want to manage sessions on the server side (i.e., with servlets)
- You'll have to program your applets to accept and supply cookies! Probably an
involved job.
- Since applet is your content, you won't be using encodeURL to rewrite URLs. So, no
URL rewriting.
Regards,
Subrahmanyam
___________________________________________________________________________
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