You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/05/19 06:07:23 UTC
DO NOT REPLY [Bug 9227] New: -
Allow an empty value of a pathname in the StandardManager to disable the restart persistent sessions
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9227>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9227
Allow an empty value of a pathname in the StandardManager to disable the restart persistent sessions
Summary: Allow an empty value of a pathname in the
StandardManager to disable the restart persistent
sessions
Product: Tomcat 4
Version: 4.0.3 Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Catalina:Modules
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: bolandb@attbi.com
Allow pathname="" to disable persistence in the StandardManager as in this
example:
<Manager className="org.apache.catalina.session.StandardManager"
pathname="" />
The source code for the StandardManager states that if the pathname is null, it
will not use persistence. Not knowing how to set it to null from server.xml, I
tried setting the pathname to an empty value (vs. the default SESSIONS.ser) and
that seems to have disabled it. It didn't really disable it, but it couldn't
create the relative file in the web application's work directory since it
existed as the directory itself. I see exceptions in my log file...but at least
my sessions are no longer persistent for this one application. You could
probably put a bad file name with characters that are invalid for files of your
O/S and get the same results.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>