cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10254] New: - [PATCH] MaybeUploadRequestFactoryImpl Session timeout fix
Date Wed, 26 Jun 2002 16:00:31 GMT
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=10254>.
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=10254

[PATCH] MaybeUploadRequestFactoryImpl Session timeout fix

           Summary: [PATCH] MaybeUploadRequestFactoryImpl Session timeout
                    fix
           Product: Cocoon 2
           Version: 2.0.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: stuart.roebuck@adolos.co.uk


Currently it is possible for a large upload to take long enough for the user's session to
be logged off between initiating the upload and the upload completing.  Under a session based
access control system this results in the submission being rejected.

Whilst it is possible to increase the time before a session is forgotten by altering the web.xml
configuration, this change will affect all users at all times, and may compromise security
policies.

This patch alters the MaybeUploadRequestFactory implementation to record the current users
session timeout and then over-ride this with a four hour timeout at the beginning of the upload,
restoring it to its original setting with the upload has completed.

The requirement for this may be servlet container specific and there may be a strong argument
for this functionality to be built into the container as standard, it currently appears to
be necessary when working with Tomcat.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message