Hello every1,
i'm building a site that requires logging in before accessing other pages(like facebook or any mail system).
At first(in index) i create an object of my sessions class, say $session. The constructor of sessions class calls session_start() php function.
$session checks if user logged in or not(maybe he was remembered in cookies) and if not, $session directs him to login page. So, how can I use $session object(which is constructed in index page)in login page???
Thnx