Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function onUserAfterLogin($options){
- $user =JFactory::getUser();
- $user_id = $user->get('username');
- $usertype = $user->get('usertype');
- $session = JFactory::getSession();
- $sessionid = $session->getId();
- //write to txt file
- //set cookie for the same
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement