got the first page working fine - having a little more 'fun' trying to prevent other pages from being visible without login.
first page - index.php works logs in, creates session id and shows restricted content on the page.
there's a url on index.php to a page called batchlist.php.
and in batchlist.php i've added the line as per the article
$uid = $u->requireAuthentication("displayLogin");
but i get the message
Fatal error: Call to a member function on a non-object in D:\web\me\modules\batchlist.php on line 8
any thoughts ?
having re-read the article and realised that it isn't a set of instructions, but that it makes assumptions i've got rid of my error message above - but i can't stop it throwing up a login screen on every page....