Warning: session_destroy : Trying to destroy uninitialized sessionq错误
程序员文章站
2024-01-03 16:36:40
...
经查证,在进行使用session_destroy()函数必须先调用session_start()函数。
也就是要有如下代码:
也就是要有如下代码:
复制代码 代码如下:
session_start();
session_destroy();
?>
以上就介绍了 Warning: session_destroy : Trying to destroy uninitialized sessionq错误,包括了方面的内容,希望对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错误