Mohammed Akacem wrote:
>
> In my application (an applet to view java-3D objects) I am starting a
> thread to connect to a servlet(http connection) and send a file from
> this thread to the servlet.
>
> 1) how can I manage the session tracking ? or do I have to shift to rmi?
If you want or need to do this, you have to do the same thing the
browser does.
- When the servlet sends a "Set-Cookie" header, you need to store it in
memory (or on disk) per the cookie spec
- When the applet contacts the servlet, you need to send any applicable
cookies in a "Cookie" header.
- A copy of the cookie spec can be found at
http://www.cis.ohio-state.edu/htbin/rfc/rfc2109.html
- More information about cookies can be found at
http://www.cookiecentral.com
___________________________________________________________________________
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