tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aronszajn, Mark" <maron...@fhcrc.org>
Subject RE: a discrepancy in webapp behavior in two environments
Date Thu, 16 Nov 2006 18:26:13 GMT
I've encountered the problem again that I described in some posts from
last month.

I had figured that the problem was resolved when I explicitly included
the jsessionid as a param with the URL. The situation was this: I have a
page that refreshes every few seconds with updates to a list of results
being processed on the server. Each refresh page also includes a cancel
and a switch-to-batch-mode button. These are the buttons that are
accompanied by URLs to which I've now attached jsessionid params. The
refreshes work fine, the session gets retained across each refresh.
However, if I submit either a cancel or switch-to-batch request by
clicking on one of the buttons, the session is lost. This has now
started happening even though I explicitly include the sessionId in the
request's URL... !

Now here's some further info: I tried running the app on the same
platform (client: Windows XP, server: Tomcat 5.5.17 on a Sun Solaris
machine) but using Internet Explorer instead of Firefox, and the problem
didn't occur. The cancelling and switch-to-batching worked fine.

And here's another piece of info: I went back to Firefox and cleared all
cache and cookies and tried again, and this time it worked fine, and has
been working okay since then (all of 10 minutes...).

So the thing is working now, but I'm left w/out an understanding of why
the problem would occur in the first place. I want people to be able to
use this web app with Firefox, and I don't want to see this problem
occurring off & on if I can help it. It sort of looks like it might be a
Firefox issue, but I'm not sure.

Can anyone suggest a cause & solution given the information here?

Thanks,

Mark

> -----Original Message-----
> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
> Sent: Wednesday, October 18, 2006 5:15 PM
> To: Tomcat Users List
> Subject: RE: a discrepancy in webapp behavior in two environments
> 
> > From: Aronszajn, Mark [mailto:maronsza@fhcrc.org]
> > Subject: RE: a discrepancy in webapp behavior in two environments
> > 
> > Could you explain how the configuration of a firewall would 
> have such 
> > effect on whether the original HttpSession object gets retained?
> 
> If you're not appending jsessionid ro the URL, you must be 
> using cookies to allow the server to identify the client.  
> Some smart (?) firewalls (or proxy servers) can be configured 
> to drop cookies.  For an example, see this thread:
> http://marc.theaimsgroup.com/?l=tomcat-user&m=107017907404496&w=2
> 
> Note that it could be a firewall installed on your Windows 
> box, not just an external one.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE 
> PROPRIETARY MATERIAL and is thus for use only by the intended 
> recipient. If you received this in error, please contact the 
> sender and delete the e-mail and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To 
> unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message