Warning: session_destroy() : Trying to destroy uninitialized_PHP
程序员文章站
2022-05-25 10:11:16
...
经查证,在进行使用session_destroy()函数必须先调用session_start()函数。
也就是要有如下代码:
复制代码 代码如下:
session_start();
session_destroy();
?>
也就是要有如下代码:
复制代码 代码如下:
session_start();
session_destroy();
?>
推荐阅读
-
Warning: session_destroy() : Trying to destroy uninitialized sessionq错误
-
Warning: session_destroy() : Trying to destroy uninitialized sessionq错误_php技巧
-
Warning: session_destroy() [function.session-destroy]: Tryin_PHP教程
-
Warning: session_destroy() : Trying to destroy uninitialized_PHP教程
-
Warning: session_destroy() : Trying to destroy uninitialized_PHP
-
Warning: session_destroy() : Trying to destroy uninitialized sessionq错误
-
Warning: session_destroy() : Trying to destroy uninitialized_PHP
-
Warning: session_destroy : Trying to destroy uninitialized sessionq错误