Craig,

T H A N K   Y O U   V E R Y   M U C H ! ! !

I have spent the last 4 hours trying to figure out what was wrong with our
application.  I would have asked sooner, but didn't want to sound like a
newbie to either Tomcat or Servlets.  This is the first version of Tomcat
4.0 we tried, what luck huh? :)  I eagerly await tonight's build!

And also thank you very much for Tomcat.  It's just great and even on
windoze its better then most commercial application servers.

Jim

-----Original Message-----
From: craigmcc@localhost [mailto:craigmcc@localhost]On Behalf Of Craig
R. McClanahan
Sent: Wednesday, September 05, 2001 3:31 PM
To: Tomcat-User
Subject: Re: Tomcat 4.0 and Session




On Wed, 5 Sep 2001, Jim Urban wrote:

> Date: Wed, 5 Sep 2001 15:14:56 -0500
> From: Jim Urban <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: Tomcat-User <[EMAIL PROTECTED]>
> Subject: Tomcat 4.0 and Session
>
> We have an application we are migrating from Tomcat 3.2.1 to Tomcat 4.0.
> This application relies heavily on the use of HttpSession to maintain the
> user's information from servlet invocation to servlet invocation.  Under
> Tomcat 3.2.1 the request.getSession() works fines and gives us the user's
> session.  Under Tomcat 4.0 every call to request.getSession() returns a
new
> HttpSession (session.isNew() returns true and the session contents are
> empty).  What is causing this?  Why does the same code work under Tomcat
> 3.2.1 and not under Tomcat 4.0?  Most important, how do I get my sessions
> working again.  BTW, we are using cookies to store the session ID, and
> request.getRequestedSessionId() always returns the same value.
>

If you happened to try last night's nightly build of Tomcat 4 (dated
20010905), you just ran into a bug that was fixed today and will be fixed
in tonight's nightly build (20010906).  Cookie-based sessions also work
just fine in nightly builds prior to 20010905, as well as in the beta-7
release.

> Thanks,
>
> Jim Urban
> Product Manager
> Netsteps Inc.
> Suite 505E
> 1 Pierce Pl.
> Itasca, IL  60143
> Voice:  (630) 250-3045 x2164
> Fax:  (630) 250-3046
>
>

Craig McClanahan



Reply via email to