How to test a user is logged in?

by sylvie
Tuesday 02 of May, 2006
Posted to Developer's FAQ
In php:
if( $gBitUser->isRegistered() )
In smarty:
{if $gBitUser->isRegistered()}