I'm using com_ajax for requests, and I've run into a problem.
I'm trying to determine if the user making an AJAX request is logged in. When I call JFactory::getUser(), it's returning a guest user, ID=0. Similarly JApplication->isAdmin() returns false. I'm guessing that's because com_ajax resides in the site side, not the administrator side. Is that right?
Is there any way to use com_ajax and distinguish if someone is authenticated? Alternatively, is there an equivalent to com_ajax on the administrator side? Do I have to write my own Ajax on an administrative component?