Warning: session_destroy() : Trying to destroy uninitialized sessionq错误_php技巧
程序员文章站
2022-06-16 23:32:03
...
经查证,在进行使用session_destroy()函数必须先调用session_start()函数。
也就是要有如下代码:
session_start();
session_destroy();
?>
也就是要有如下代码:
复制代码 代码如下:
session_start();
session_destroy();
?>
下一篇: php缓冲输出实例分析_PHP
推荐阅读
-
Warning: session_destroy() : Trying to destroy uninitialized sessionq错误
-
Warning: session_destroy() : Trying to destroy uninitialized sessionq错误_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错误