redirect or logout user from a php application very easy

05:28:00 0 Comments

 <?php
$variablephp = $_SESSION['uname'];
?>
    <script>
   
    setInterval(function() {
  // method to be executed;
       
        var variablejs = "<?php echo $variablephp; ?>" ;
alert("variablejs = " + variablejs);
        if(){}
       
}, 5000);
   
    </script>

Joel

Joel Fernandes,I am a Very Smart,Innovative Creative and One of the Best Webdevelopers.I am an expert in Webdevelopment.My other interest include Cars and Vehicles.My desire is to be the best and serve you with the best information I have .I will always share all my tips and tricks on this website and provide you with the best themes so that your life may be simpler.Keep visiting www.joelwebsites.com for the best website related ,tips and tricks and news.Meet me on FaceBook

0 comments: