Hi everybody,
I'm developing an application web oriented with PHP but I met some problems using the session variables.
For now, I made 3 PHP page:
1) the login page, called gas_login.php. It requires the account for entering in the site. It contains a form and no php code.
2) the authentication page, named authentication.php, it starts the session, registers a variable (AUTHENTICATED), checks the username and password in a database. If they're right, it sets AUTHENTICATED true, else it sets false.
3) the third page is a temp page which I've written to understand like session variables work. The page returns true if the variable AUTHENTICATED is registered and "true".
The problem is in this last page. In fact it seems to work well but after a little it doesn't see if the session variable is registered or its value.
Can anyone help me pls? I read the help in the PDF manual, but I've not found information about.
Thxs all,
Gianluca