Moodle
  1. Moodle
  2. MDL-21637

bug in some versions of php version 5 prevents cookieless sessions working

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.7
    • Fix Version/s: 1.9.8
    • Component/s: Libraries
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Using PHP version 5.2.11 found that there is a bug that prevents access to the CFG global from inside callback function called by output buffer.

        Gliffy Diagrams

          Activity

          Hide
          Jamie Pratt added a comment -

          Used static variable to store data from CFG on first call to fix problem.

          Show
          Jamie Pratt added a comment - Used static variable to store data from CFG on first call to fix problem.
          Hide
          Jamie Pratt added a comment -

          My first attempt at fixing the problem did not fix the problem. So using method on an instantiated object for call back function and this seems to fix the problem.

          Show
          Jamie Pratt added a comment - My first attempt at fixing the problem did not fix the problem. So using method on an instantiated object for call back function and this seems to fix the problem.

            People

            • Assignee:
              Jamie Pratt
              Reporter:
              Jamie Pratt
              Tester:
              Nobody
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: