The message is not showing. Please help me. Thanks
<?php
/* logout.php */
require('obj.php');
session_destroy();
$_SESSION['msg']='You have successfully logged out. Thank you for the visit.';
header('Location: '.$kPathUrl->adminUrl.'/login.php');
exit;
?>