<?php
namespace Test;
class Controller_Session extends Controller
{
public function action_test_1()
{
\Session::set('test1', 'foo');
sleep(3);
return 'test 1';
}
public function action_test_2()
{
\Session::set('test2', 'foo');
sleep(3);
return 'test 2';
}
public function action_read()
{
\Debug::dump(\Session::get());
return '';
}
public function action_destroy()
{
\Session::destroy();
return 'destroyed';
}
}
It looks like you're new here. If you want to get involved, click one of these buttons!