Hello there! Welcome to Linelabox Support Forum. Post your question and our support specialists will help you. Look for the solution in the F.A.Q. first. Our support team is available for any questions or issues in the following working hours: Monday - Friday: 10:00 - 18:00.
$session = JSession::getInstance();
$conf = JFactory::getConfig();
$handler = $conf->get('session_handler', 'none');
$options['expire'] = ($conf->get('lifetime')) ? $conf->get('lifetime') * 60 : 900;
$session = JSession::getInstance($handler, $options);
$session_id = $session->getId();
We have 271 guests and no members online