Uploaded image for project: 'Lucee Development'
  1. LDEV-714

onSessionEnd creates WEB-INF/lucee/output/onSessionEnd.out

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: 5.0.0.98, 4.5.2.018
    • Fix Version/s: 5.0.0.173, 4.5.3.004
    • Labels:
      None
    • Environment:

      CentOS 6.6
      Tomcat 7.0.56
      Java 1.8.0_51

      and

      Mac
      Tomcat 7.0.52
      Java 1.8.0_45

      Description

      Unnecessary file access / creation happens when onSessionEnd is used. Here's how to replicate:

      • Download clean 4.5.2 express
      • Run
      • No "output" folder and no "onSessionEnd.out" file
      • Edit application.cfc to include this.sessionmanagement=true
      • Add in a onSessionEnd function which does nothing (output false / returntype void)
      • Set session timeout to tiny value
      • Refresh page

      After a few seconds I have WEB-INF/lucee/output/onSessionEnd.out

      This file is empty.

      With every session that ends, the file remains empty, but the timestamp keeps ticking along.

      Igal suggested it may have been left behind by a Lucee dev.

      Behaviour confirmed on version 5 too.

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              Geoff_Parky Geoff Parkhurst
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: