$_SESSION = array(); 㧠$_SESSION å¤æ°ãã¯ãªã¢ããã ããããªã㦠èªåã§ã¯ã©ã¤ã¢ã³ãå´ã®ãã©ã¦ã¶ã«ã¯ããã¼ãåé¤ãããããã« setcookie() ã使ããªãã¨ãããªããããã PHP: session_destroy - Manual <?php // ã»ãã·ã§ã³ã®åæå // session_name("something")ã使ç¨ãã¦ããå ´åã¯ç¹ã«ãããå¿ããªãããã«! session_start(); // ã»ãã·ã§ã³å¤æ°ãå ¨ã¦è§£é¤ãã $_SESSION = array(); // ã»ãã·ã§ã³ãåæããã«ã¯ã»ãã·ã§ã³ã¯ããã¼ãåé¤ããã // Note: ã»ãã·ã§ã³æ å ±ã ãã§ãªãã»ãã·ã§ã³ãç ´å£ããã if (isset($_COOKIE[session_name()])) { setcookie(session_name(), '', time
{{#tags}}- {{label}}
{{/tags}}