Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-6754

No session cookies with $user->set_cookie()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.1
    • 3.0.0
    • Sessions
    • None
    • PHP Environment:
      Database:

      The set_cookie() function in the user class does not provide a way to set a cookie that will expire at the end of session. A timestamp of zero will be converted into past date, causing immediate expiration (and thus no cookie). Passing in an empty string causes the gmdate() function to return false (setting no expiration), but it also causes the function to throw an E_WARNING level error, so that's no solution.

            Acyd Burn Meik Sievertsen [X] (Inactive)
            primehalo primehalo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: