I'm looking for using of session to check on for login. I set the session in the frontend and today i have to look into the same session at after sales in order to look for effective login.

Frontend

$session =&lifier JFactory::getSession() $session->set('username', "abc123")

after sales

$session =&lifier JFactory::getSession() echo $session->get('username')

Nevertheless its not exhibiting the session value, plz assist me? If other solution , you are able to provide too.

You are able to sign in jos_session table whether user is drenched in or otherwise. The session information is not shared between frontend and after sales. (Should you sign in frontend and after sales with same user, you can observe in jos_session table, you will find two different session id to same user)