2014-03-10 10:58 GMT+04:00 Akash Jain <akash.delh...@gmail.com>: > Christopher, > > I have changed in server.xml. Below is the server.xml part - > > <Context path="" > docBase="ROOT" > sessionCookieName="mycookie" > sessionCookieDomain="myapp.mydomain.com" > sessionCookiePath="/" > useHttpOnly="true" > reloadable="false"> > <WatchedResource>WEB-INF/web.xml</WatchedResource> > <Manager pathname="" /> <!-- Disables session > persistence --> > </Context> > > As indicated above, I write JSESSIONID in "mycookie" cookie. Even after > restart, the JSESSIONID is not getting invalidated. Before and after > restart of apache, I can keep browsing the site with the same JSESSIONID in > cookie.
This behaviour is expected for sessionCookiePath="/". --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org