Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21637

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

          Attachments

            Activity

            Hide
            jamiesensei Jamie Pratt added a comment -

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

            Show
            jamiesensei Jamie Pratt added a comment - Used static variable to store data from CFG on first call to fix problem.
            Hide
            jamiesensei 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
            jamiesensei 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:
                jamiesensei Jamie Pratt
                Reporter:
                jamiesensei Jamie Pratt
                Tester:
                Nobody
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  25/Mar/10