PHP All website Session Creates

session_all_pages


<?php
session_start();
if(!isset($_SESSION['USER']))
{?>
   <script language="javascript">
      alert('Please Login..');
      window.location="index.php";
   </script>
<?php
}

?>
Share on Google Plus

About quora Questions & Answers A-Z

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment