We ve developed a few standalone php scripts and want to limit access to them. We use Joomla 1.5 as our main front end and I m wondering if we can use the authentication from Joomla to determine if a user is logged in or not from within our application which is outside the Joomla framework. If we can avoid integrating the joomla framework into our code, it would be preferred.
Not being an expert on Joomla s authentication system, does anyone have any idea to tell whether a user is logged in or not? I assume we would look at the session id and then use that to do a database query to see who the user is and if they re logged in?