Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1871

Properly dispose session during logout workflow

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2-B3
    • Component/s: Session
    • Labels:
      None

      Description

      TODO:

      Add "$this->SessionSet = false;" code in the "\InpSession::Destroy" method.

      Motivation:

      The "SessionSet" flag is reset in "\Session::Destroy" method, but not in "\InpSession::Destroy" method. Because of this any code, that calls "\kApplication::RemoveVar" method in hooks to the "adm:OnBeforeShutdown" would result in session data removal SQL being executed without SessionKey in it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Erik Snarski [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.3h
                  1.3h