The session is nulled if you go to a different hostname. Are you sure the
hostname stays exactly the same??? Even changing from http://machinename to
http://localhost causes the session to be nulled. At least as far as I know,
since I vaguely remember running into this issue a while back.

hope this helps
Rob

> -----Original Message-----
> From: Vinay K.V. Menon [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 22, 2000 11:59 AM
> To: [EMAIL PROTECTED]
> Subject: Session getting nulled!
>
>
> Hi folks!
>         I have got the sendRedirect to work but now have a
> strange problem-the
> session seems to be getting nulled when doing so!
>
> I am using encodeRedirectUrl of the URL and the cookies are
> enabled on the
> client browser. Can someone tell me if I need to do something
> else??? Am I
> missing something?
>
> Vinay
>
> > -----Original Message-----
> > From: A mailing list for discussion about Sun Microsystem's
> Java Servlet
> > API Technology. [mailto:[EMAIL PROTECTED]]On
> Behalf Of Vinay
> > K.V. Menon
> > Sent: Thursday, June 22, 2000 1:47 PM
> > To: [EMAIL PROTECTED]
> > Subject: URGENT - Problem with sendRedirect in Websphere/NES/Unix
> >
> >
> > Hi all!
> >         We had a devlopment environment of Websphere2.03/NES3.61
> > on NT. The way
> > redirecting was done was if we needed to redirect to a servlet
> > say Servlet1
> > we would simply put
> >         response.sendRedirect(encodeRedirectUrl(Servlet1));
> >
> >         Thus if the starting Url was
> http://machineip/servlet/LoginServlet
> >
> >         we'd not
> append the portion http://machineip/servlet
> >
> >         Now when we tried porting the app to Websphere
> > 3.02,NES3.62 on Unix, things
> > seem a bit strange. The redirection seems to fail and the
> > Webserver seems to
> > be stripping the /servlet/ portion despite me trying to
> hard code it.
> >
> >         I even tried adding the whole path as http:// +
> > request.getServerName() +
> > "/servlet" + Servlet1 but that too does not seem to work!
> >
> >         Can anyone help?????
> >
> >
> > Thanks
> >
> > Vinay
> >
> > __________________________________________________________________
> > _________
> > 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
>

___________________________________________________________________________
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