isNew() didn't seem to give me the answer I was expecting at various points in the code. I'm sure it's just me not looking at something right, but I went with the attribute in session (which is really diong the same thing you said, which is asking session the question!). This also seems to be the common approach, based on my Googling. I just wish I knew that BEFORE I removed that same code! :) I'm all set now though, things are working nicely.

Frank


From: Jérôme Duval <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: Vexing session ceration issue
Date: Wed, 16 Jun 2004 14:02:18 -0400

I think you are asking the wrong object for info. You want to know if the
session exists or not, so ask the session! I would use the isNew() method,
rather then getSession(false), simply because the session is the best placed
object to know if it exists or not.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Looking to buy a house? Get informed with the Home Buying Guide from MSN House & Home. http://coldwellbanker.msn.com/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to