Source of file AjaxController.php
Size: 0,404 Bytes - Last Modified: 2019-01-23T10:27:52+00:00
/var/www/docs.ssmods.com/process/src/src/AjaxController.php
123456789101112131415161718192021 | <?php namespace Intwebg\MemberModalSession; // use SilverStripe\Control\Session; not working use SilverStripe\Control\Controller; class AjaxController extends Controller { private static $allowed_actions = array( 'keepalivesession' ); public function keepalivesession() { //Session::set('session_start_time', time()); $_SESSION['session_start_time']=time(); return true; } } |