PHP Contao Session - 9 Beispiele gefunden. Dies sind die am besten bewerteten PHP Beispiele für die Contao\Session, die aus Open Source-Projekten extrahiert wurden. Sie können Beispiele bewerten, um die Qualität der Beispiele zu verbessern.
The class functions as an adapter for the PHP $_SESSION array and separates
back end from front end session data.
Usage:
$session = Session::getInstance();
$session->set('foo', 'bar');
echo $session->get('foo');
Deprecation:
Deprecated since Contao 4.0, to be removed in Contao 5.0.
Use the session service instead.