Warning: session_destroy() : Trying to destroy uninitialized sessionq错误
程序员文章站
2022-05-21 17:36:01
经查证,在进行使用session_destroy()函数必须先调用session_start()函数。 也就是要有如下代码: 复制代码 代码如下: sessio...
经查证,在进行使用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() : 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错误