Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16894

Cookie is not set

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Invalid
    • 3.3.5
    • None
    • Sessions
    • None

    Description

      When i try to connect to my forum . I succes to connect but when i change of page i lost my session and variable $disable_cookie is state false .I solve solution is replace this:

      header('Set-Cookie: ' . $name_data . (($cookietime) ? '; Expires=' . $expire : '')
      . '; path=' . $config['cookie_path']
      . $domain
      . ((!$config['cookie_secure']) ? '' : '; Secure') . ';' . (($httponly) ? ' HttpOnly' : ''), false);

       

      to this:

      setcookie($config['cookie_name'] . '_' . $name, $cookiedata, $cookietime,'/');

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            rebbo rebbo [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: