tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ALEXANDROS KOTSIRAS" <ALEXANDRO...@prodigy.net>
Subject Re: problems with sendRedirect on UNIX
Date Tue, 25 Jul 2000 04:26:47 GMT
I  haven't tried Tomcat but i remember with JServ, session was not
maintained with sendRedirect() AND cookies disabled on the browser. With
cookies enable it was OK.
It might be the same case with Tomcat.



----- Original Message -----
From: Nav Tomcat <nav_tomcat@yahoo.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Monday, July 24, 2000 8:54 PM
Subject: problems with sendRedirect on UNIX


>
>
>
> We have the following configuration
>
> Servlet-Engine: Tomcat Web Server/3.3 dev (JSP 1.1;
> Servlet 2.2; Java 1.2.2-6; OSF
> 1 V5.0 alpha; java.vendor=Compaq Computer Corp.)
>
> My JSP code uses response.sendRedirect().
>
> It works fine on  a NT box ( with tomcat 3.1) when we
> tried to run on the UNIX box ( both on 3.1 & 3.2
> beta), the session information was getting lost.
>
>
> I found the following posting on the Tomcat server
> which seemed to be a similar problem but i could not
> get the result as stated in the posting , the bug
> still seems to exist in the Tomcat engine
>
>
> Any help would be greatly appretiated.
>
>
> Regards
>
> Nav
>
>
>
>
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> -------------- Reference --------------------
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>
> Re: please take a second, just a second at least, to
> consider this cookie bug
>
> --------------------------------------------------------------------------
------
>
> To: tomcat-dev@jakarta.apache.org
> Subject: Re: please take a second, just a second at
> least, to consider this cookie bug
> From: "Craig R. McClanahan"
> <Craig.McClanahan@eng.sun.com>
> Date: Sat, 01 Jul 2000 12:06:25 -0700
> Delivered-To: mailing list
> tomcat-dev@jakarta.apache.org
> list-help: <mailto:tomcat-dev-help@jakarta.apache.org>
>
> list-post: <mailto:tomcat-dev@jakarta.apache.org>
> list-unsubscribe:
> <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> Mailing-List: contact
> tomcat-dev-help@jakarta.apache.org; run by ezmlm
> References:
> <NEBBJHMDOKFJEOLGMPMMKEFECDAA.carroll@openave.com>
> Reply-To: tomcat-dev@jakarta.apache.org
>
> --------------------------------------------------------------------------
------
>
> "Carroll Guertin Jr." wrote:
>
> > Tomcat should send cookies down when servlets use
> redirects -- sending the
> > browser to a different location.
> >
> > Right now this does NOT happen.
> >
> > More detail:
> > The method HttpServletResponseFacade.sendRedirect
> clears the headers, which
> > includes the cookies.
> >
> > Solution:
> > ResponseImpl.reset() needs an option (flag maybe) so
> cookies may be kept.
> >
> > I hacked a fix for myself to enable quick
> integration into future releases
> > of Tomcat, but I would spend time implementing a
> more elegant fix if there
> > is interest in fixing this bug.
> >
>
> This bug has been fixed in the current nightly builds
> of Tomcat 3.2dev,
> and
> will be fixed in the final release.
>
> >
> > Please let me know.
> >
>
> Craig McClanahan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-dev-help@jakarta.apache.org
>
>
>
> --------------------------------------------------------------------------
------
>
> References:
> please take a second, just a second at least, to
> consider this cookie bug
> From: "Carroll Guertin Jr." <carroll@openave.com>
> Prev by Date: page contentType and include
> Next by Date: [patch] Patch for SSL
> Prev by thread: please take a second, just a second at
> least, to consider this cookie bug
> Next by thread: hello?
> Index(es):
> Date
> Thread
>
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from
> anywhere!
> http://mail.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-dev-help@jakarta.apache.org
>
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>


Mime
View raw message