Someone told me that if cookies are disabled on a user's p.c. that  2.1
would automatically add the session ID to the end of the URL and thus the
servlet would have access to this info. Also, was told that the getSession()
method would handle all this transparently, thus the session processing
would still work. Is this true? Wouldn't have to add encodeUrl() to the
servlet code?

> -----Original Message-----
> From: Nic Ferrier [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, June 17, 2000 7:10 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: multiple sessions being intermixed
>
> >>> Anshul Dutta <[EMAIL PROTECTED]> 17-Jun-00 11:31:49 AM >>>
>
> >I am facing a weird problem with sessions. I have got a
> >LAN (comprising 4 machines), and an apache server
> >which does the task of proxy server. Apache's squid is
> >used to forward the client request to the internet. Now I
> >have another server on the internet which processes
> >the servlets. I tried to call the same servlet from two
> >different machines of the LAN. Now the servlet mixes
> >up the session. That is it's sending the output generated for
> >one machine to the other and vice-versa.
>
> It sounds like Apache-proxy might be having trouble with cookies.
>
> Try turning off cookies in your browser and using encodeURL() in your
> code.
>
>
>
> Nic Ferrier
>
> __________________________________________________________________________
> _
> 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