tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Haberl <birnbu...@gmail.com>
Subject Re: Session does not get invalidated when sessionCookiePath is set to "/"
Date Wed, 02 Oct 2013 21:42:38 GMT
Hi Chuck,

Sorry, that was a copy and paste error into my mail client. My context.xml of course looks
like:

<Context 
  sessionCookieDomain="acme.org"
  sessionCookieName="acme"
  useHttpOnly="true"
  disableURLRewriting="true"
>

<!-- disable persistent sessions -->
<Manager pathname="" />

</Context>

Stefan

On 02.10.2013, at 23:36, "Caldarale, Charles R" <Chuck.Caldarale@unisys.com> wrote:

>> From: Stefan Haberl [mailto:birnbuazn@gmail.com] 
>> Subject: Session does not get invalidated when sessionCookiePath is set to "/"
> 
>> I've a context.xml like so:
> 
>> <Context 
>>   sessionCookieDomain="acme.org"
>>   sessionCookieName="acme"
>>   useHttpOnly="true"
>>   disableURLRewriting="true"
>> />
> 
> The /> terminates the <Context> element, so the rest of your .xml file is probably
ignored...
> 
>> <!-- disable persistent sessions -->
>> <Manager pathname="" />
> 
> Not sure what the <Manager> applies to, since it's not nested inside the <Context>.
> 
>> </Context>
> 
> Not semantically valid, since the <Context> element was already closed.
> 
> - 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 unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

--
Stefan Haberl
http://christa-und-stefan.net





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


Mime
View raw message