Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Other
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      15822

      Description

      sessions with userid=0 (not logged in) are not getting removed from the sessions table when using DB sessions.

      I have attached a patch which adds this to the session_gc function.

        Issue Links

          Activity

          Hide
          Petr Škoda added a comment -

          Hello, did you consider using git instead of patches? Benefits are:
          1/ you would get the credit for each commit
          2/ a lot less work to include your changes in official distribution

          I would at least need to know your public email address to include you as the author of commit manually.

          Thanks for the patch!

          Petr

          Show
          Petr Škoda added a comment - Hello, did you consider using git instead of patches? Benefits are: 1/ you would get the credit for each commit 2/ a lot less work to include your changes in official distribution I would at least need to know your public email address to include you as the author of commit manually. Thanks for the patch! Petr
          Hide
          Ashley Holman added a comment -

          Hey Petr, yes I'm going to get a public git server set up - just waiting on it to be provisioned. In the meantime can set author to "Ashley Holman <ashley@netspot.com.au>"

          Cheers

          Show
          Ashley Holman added a comment - Hey Petr, yes I'm going to get a public git server set up - just waiting on it to be provisioned. In the meantime can set author to "Ashley Holman <ashley@netspot.com.au>" Cheers
          Hide
          Petr Škoda added a comment -

          Thanks!

          Show
          Petr Škoda added a comment - Thanks!
          Hide
          David Mudrak added a comment -

          Tested. Thanks Ashley for the patch!

          Show
          David Mudrak added a comment - Tested. Thanks Ashley for the patch!

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: