Sean Lang Sean Lang - 1 year ago 114
CSS Question

Joomla 2.5 check user logged in

How do i check if a user is logged in in Joomla 2.5? I can only seem to find code snippets for the older versions of joomla. Is it the same?

Answer Source
if(JFactory::getUser()->id)
{
//user has logged in
}
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download