PHP Classes

File: gc.php

Recommend this page to a friend!
  Classes of Miguel Villaseņor   MKCS PHP Support Chat   gc.php   Download  
File: gc.php
Role: Example script
Content type: text/plain
Description: Unit test script
Class: MKCS PHP Support Chat
Chat with clients of a support site
Author: By
Last change:
Date: 10 years ago
Size: 173 bytes
 

Contents

Class file image Download
<?php

require_once 'classes/MkSession.php';
$session_class = new MkSession;

 
ini_set('session.gc_maxlifetime',1);
 
$session_class->gc(ini_get('session.gc_maxlifetime'));