Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread Mark Thomas
On 09/06/2014 01:41, Fred Toth wrote: Hi Dan, Yes, the rest of the log is correct, and yes, I am certain I have an active session (I can see the cookie in my browser). Then something is messed up in your configuration. I've just checked this works and it does. You'll need to provide your

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread André Warnier
Mark Thomas wrote: On 09/06/2014 01:41, Fred Toth wrote: Hi Dan, Yes, the rest of the log is correct, and yes, I am certain I have an active session (I can see the cookie in my browser). Then something is messed up in your configuration. I've just checked this works and it does. You'll need

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread Mark Thomas
On 09/06/2014 10:59, André Warnier wrote: Mark Thomas wrote: On 09/06/2014 01:41, Fred Toth wrote: Hi Dan, Yes, the rest of the log is correct, and yes, I am certain I have an active session (I can see the cookie in my browser). Then something is messed up in your configuration. I've just

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread Fred Toth
Hi again, I'm confused. I thought (apparently mistakenly) that there was always a session, but I must be wrong. I just downloaded a fresh instance of 7.0.54 and added the %S to the valve config. However, I don't get any session keys in the log when I click around in the doc. But, as soon as

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Fred, On 6/9/14, 10:59 AM, Fred Toth wrote: I'm confused. I thought (apparently mistakenly) that there was always a session, but I must be wrong. There is not always a session. For container-manager FORM-based authentication, there will always

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread Fred Toth
Hi Chris, Thanks very much, this helps. I was also mistaken about the cookie. Sure enough, on further testing, the JSESSIONID cookie appears at the same time the session key shows up in the log, but not before. And no, authentication is not currently in place, but will be soon, which is why

Adding user session id to access log with %S doesn't work?

2014-06-08 Thread Fred Toth
Hi, This feature is in the doc since at least tomcat 5. I'm using tomcat 7.0.47 and I just tried to add the user session id to the access log by adding %S to the pattern attribute. However, it's not working. All I'm getting is - in the log. Is there some trick to this? I haven't found

Re: Adding user session id to access log with %S doesn't work?

2014-06-08 Thread Daniel Mikusa
On Jun 8, 2014 4:01 PM, Fred Toth ft...@synernet.com wrote: Hi, This feature is in the doc since at least tomcat 5. I'm using tomcat 7.0.47 and I just tried to add the user session id to the access log by adding %S to the pattern attribute. However, it's not working. All I'm getting is - in

Re: Adding user session id to access log with %S doesn't work?

2014-06-08 Thread Fred Toth
Hi Dan, Yes, the rest of the log is correct, and yes, I am certain I have an active session (I can see the cookie in my browser). Thanks, Fred On 6/8/2014 4:30 PM, Daniel Mikusa wrote: On Jun 8, 2014 4:01 PM, Fred Toth ft...@synernet.com wrote: Hi, This feature is in the doc since at