External scripting and Cached Info

Permalink
Is there a bootstrap I could include in an external script or a way to use cached user info so I can access user data, such as testing if he's logged in before processing the external script? There appears to be a session for themed pages, but when I print it in an external script the session is empty. Any suggestions? Thanks!

 
Maynar replied on at Permalink Reply
Maynar
Well you want to keep it in concrete I guess, but I am not sure what you want.

I myself have added a controller and installed it (through the Add functionality) and now it runs in the background each time.

If you want to know if someone is logged in, do this:
$u = new User();
if($u->isLoggedIn()==true)
{
//User is logged in = action
}