I have a couple PHP scripts used for AJAX queries, but I want them to be able to operate under the umbrella of Joomla\'s authentication system. Is the following safe? Are
sure does work , you need to get session data for users
jimport( 'joomla.session.session' ); $session =& JFactory::getSession();
print the session to see what comes out