Printable View
I have to define and use one new custom Front End session variable. Could someone explain me where I can define it?
Quote: Originally Posted by tetrijeb I have to define and use one new custom Front End session variable. Could someone explain me where I can define it? Code: $session = Session::getInstance(); $session->set('foo', 'bar'); echo $session->get('foo');
$session = Session::getInstance(); $session->set('foo', 'bar'); echo $session->get('foo');