Re: Automatically Add Session ID

2010-09-23 Thread Jeff Thorn
Thanks Chis. I'll make sure the AccessLogValve is configured correctly. Currently the app is not clustered. It it ever becomes clustered, I will make sure we keep this in mind. On Thu, Sep 23, 2010 at 4:47 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jeff,

Re: Automatically Add Session ID

2010-09-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, I've re-arranged some of your comments so that my questions make a bit more sense. On 9/23/2010 4:13 PM, Jeff Thorn wrote: > I am sure there are no sessions now. Its a REST based XML API. > > So my question is what kind of overhead does getSess

Re: Automatically Add Session ID

2010-09-23 Thread Wesley Acheson
On Thu, Sep 23, 2010 at 10:13 PM, Jeff Thorn wrote: > Hi Max. Thanks for your response. > > I am sure there are no sessions now. Its a REST based XML API. What type of client is going to use the REST API? If its not browser based it may well not accept sessions. Thus you would have several sessio

RE: Automatically Add Session ID

2010-09-23 Thread Maximilian Stocker
lto:j...@thorntechnologies.com] Sent: Thursday, September 23, 2010 4:13 PM To: Tomcat Users List Subject: Re: Automatically Add Session ID Hi Max. Thanks for your response. I am sure there are no sessions now. Its a REST based XML API. There are no views or jsp pages at all. It was designed from scratch

Re: Automatically Add Session ID

2010-09-23 Thread Jeff Thorn
Hi Max. Thanks for your response. I am sure there are no sessions now. Its a REST based XML API. There are no views or jsp pages at all. It was designed from scratch to be stateless. I truly don't even like the idea of adding a session id either. But that is out of my control. The session id will

RE: Automatically Add Session ID

2010-09-23 Thread Maximilian Stocker
How are you planning on logging/tracking this information anyway? My thinking would be to use a filter for all requests. And then you can do what you want with the information in the filter. And getSession() is to me clearer. A couple of other things though. 1) Are you sure you don't have sessi