Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-11610

CSession class handles PHP sessions the wrong way

    XMLWordPrintable

Details

    • Problem report
    • Resolution: Duplicate
    • Trivial
    • None
    • 3.4.0alpha1
    • Frontend (F)

    Description

      The way CSession class handles PHP sessions is invalid. Any call for setValue, getValue, etc. starts with the call to session_start (that should be done once for the whole execution) causes PHP to set additional cookie with the same value.

      The simplified test-case is:
      for($i = 0; $i < 1000; $i++)

      { CSession::getValue('test'); }

      Result is:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vjaceslavs Vjaceslavs Bogdanovs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: