Sessions how they works?
Posted: Thu Feb 12, 2009 11:50 am
we got 4 pages
index.php-login.php-access1.php-access2.php
you go at index if you have not login head will be login php
but when yu login what you do after?
you start a session and sett session username and session password
when you go at the access 1.php you can make an if stament and see if your data username and password have been set?
or you must using get function variables at every function and if they are in database then you go on?
index.php-login.php-access1.php-access2.php
you go at index if you have not login head will be login php
but when yu login what you do after?
you start a session and sett session username and session password
when you go at the access 1.php you can make an if stament and see if your data username and password have been set?
or you must using get function variables at every function and if they are in database then you go on?