As you've written the HTTP client (the applet) it is totally up to you to
manage the sessions (i.e. the Set-Cookie and Cookie headers). The browser
knows nothing about the HTTP traffic you are generating,
Kevin Jones
DevelopMentor
www.develop.com
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Silvia Gaspar
> Sent: 06 September 2000 16:04
> To: [EMAIL PROTECTED]
> Subject: FW: creating a session with doPost
> Importance: High
>
>
> > Hi,
> >
> > I�m calling a servlet from a applet and parameters to that servlet
> > with the o�reilly method sendPostMessage.
> > That servlet do several things and return a value to the the
> > applet. The applet depending on the value returned by the servlet call
> > another servlet.
> >
> > The problem is that in that servlet I also create a
> session and when
> > I call the other servlet in the applet this last one doen�t
> recognize the
> > session. Is it because I create a session in thr do Post. Or is
> it because
> > the applet is in the middle of the two servlets? Can someone help me?
> >
> > Regards,
> >
> --------------------------------------------------------------------------
> > ---------------------------------
> > Compta - Equipamentos e Servi�os de inform�tica, S.A
> >
> > S�lvia Gaspar
> > Engenharia de Sistemas e Aplica��es
> > Implementa��o
> > Consultora S�nior
> > * TEL: +351.21. 350 14 00
> > * Directo: +351.21. 313 55 51
> > * Fax: +351.21.352 02 02
> > * e-mail: [EMAIL PROTECTED]
> > * WWW: www.compta.pt
> >
> >
>
> __________________________________________________________________
> _________
> 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