manejo de tiempo de session

This commit is contained in:
humano 2018-10-21 13:09:37 -05:00
parent ade42da280
commit 3373ee1dd1

View File

@ -312,11 +312,12 @@ $(document).ready(function() {
}); });
</script> </script>
<?php if(isset($_SESSION['id'])){ echo "
<form name='form_session' class='navbar-form navbar-left'> <form name='form_session' class='navbar-form navbar-left'>
<div class='input-group'> <div class='input-group'>
<input type='text' name='tiempo_session' size='30' class='form-control input-sm' readonly> <input type='text' name='tiempo_session' size='30' class='form-control input-sm' readonly>
<span class='input-group-addon'><a href='#' onclick="location.reload();" title='Renovar'>Reload</a></span> <span class='input-group-addon'><a href='#' onclick=\"location.reload();\" title='Renovar'>Reload</a></span>
</div> </div>
</form><?php echo $_SESSION['timestamp']; ?> </form> "; } ?>
</body> </body>
</html> </html>