Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. public function onUserAfterLogin($options){
  2.  
  3. $user =JFactory::getUser();
  4. $user_id = $user->get('username');
  5. $usertype = $user->get('usertype');
  6. $session = JFactory::getSession();
  7. $sessionid = $session->getId();
  8. //write to txt file
  9. //set cookie for the same
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement