manejo de tiempo de session
This commit is contained in:
parent
f422396083
commit
4e4f895acb
12
index.php
12
index.php
@ -1,8 +1,5 @@
|
|||||||
<?php session_start();
|
<?php session_start();
|
||||||
//ini_set('display_errors', 'On');
|
|
||||||
$timestamp=time();
|
|
||||||
setcookie("timestamp",$timestamp,($timestamp + 5000));
|
|
||||||
$_SESSION['timestamp']= $timestamp;
|
|
||||||
if(isset($_REQUEST['debug'])) {
|
if(isset($_REQUEST['debug'])) {
|
||||||
print_r( $_SESSION );
|
print_r( $_SESSION );
|
||||||
ini_set('display_errors', 'On');}
|
ini_set('display_errors', 'On');}
|
||||||
@ -16,7 +13,12 @@ if(isset($_REQUEST['debug'])) {
|
|||||||
require ("milfs/includes/markdown.php");
|
require ("milfs/includes/markdown.php");
|
||||||
require ("milfs/includes/parametrizacion.php");
|
require ("milfs/includes/parametrizacion.php");
|
||||||
require ("milfs/includes/simple_html_dom.php");
|
require ("milfs/includes/simple_html_dom.php");
|
||||||
$xajax->processRequests(); ?>
|
$xajax->processRequests();
|
||||||
|
|
||||||
|
$timestamp=time();
|
||||||
|
setcookie("timestamp",$timestamp,($timestamp + 5000));
|
||||||
|
$_SESSION['timestamp']= $timestamp;
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head >
|
<head >
|
||||||
|
2
milfs
2
milfs
@ -1 +1 @@
|
|||||||
Subproject commit fa0da963dd2cf78a02d0c299367b5e54d9cbdfe1
|
Subproject commit ade42da280750575989a5cef5b144dc1f54c46b1
|
Loading…
Reference in New Issue
Block a user