


Warning: session_destroy : Trying to destroy uninitialized sessionq错误
Jul 29, 2016 am 08:45 AMAfter verification, the session_start() function must be called first before using the session_destroy() function.
That is, the following code is required:
Copy code The code is as follows:
<?
session_start();
session_destroy();
?>
The above introduces the Warning: session_destroy: Trying to destroy uninitialized sessionq error, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to set session timeout in SpringBoot Session

What should I do if docker start cannot start?

Solution to PHP Session cross-domain problem

What is the default expiration time of session php?

What should I do if the php session disappears after refreshing?

How to correctly read and write Session data in multiple files with PHP

How to implement SMS login in Redis shared session application
