1.session_destr oy() Trying to destroy uninitialized session
2.Cannot modify header information - headers already sent by (output started at C:\xampp\xamppl ite\htdocs\back up\logout.php:3 )
exicuting the code i got this type of warning
can someone explain what is unitialized session
2.Cannot modify header information - headers already sent by (output started at C:\xampp\xamppl ite\htdocs\back up\logout.php:3 )
Code:
<?php session_destroy(); header( 'Location: http://localhost/backup/login.php'); ?>
can someone explain what is unitialized session
Comment