[PHP-NOTES] note 130273 added to function.setcookie

[email protected] ("[email protected]")
Newsgroups php.notes
Message-ID <[email protected]>
$cookie_params = session_get_cookie_params();
    
    setcookie(session_name(), '', time() - 1000, $cookie_params['path'], $cookie_params['domain'], $cookie_params['secure'], $cookie_params['httponly']);

    session_unset();

    session_destroy();

    session_start();
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 87.223.130.93)
----
Manual Page -- https://php.net/manual/en/function.setcookie.php
Edit        -- https://main.php.net/note/edit/130273
Del: integrated  -- https://main.php.net/note/delete/130273/integrated
Del: useless     -- https://main.php.net/note/delete/130273/useless
Del: bad code    -- https://main.php.net/note/delete/130273/bad+code
Del: spam        -- https://main.php.net/note/delete/130273/spam
Del: non-english -- https://main.php.net/note/delete/130273/non-english
Del: in docs     -- https://main.php.net/note/delete/130273/in+docs
Del: other reasons-- https://main.php.net/note/delete/130273
Reject      -- https://main.php.net/note/reject/130273
Search      -- https://main.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.