Hi
Sorry for my bad english ;-)
I'm writing an application using php and sessions.
In the first include file i'm writing something like this
session_start();
session_register(loggedin);
The i have another include file with the functions.
When i'm submitting the username and passwort to the
On the title page:
session_register(loggedin);
then:
session_start(); on every page
better to test session availability on every page:
if (!session_is_registered(loggedin)) {
// redirect user to title page where the session is registered
}
But your method of handling sessions
- Original Message -
From: dosenbrei [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 19, 2001 10:01 PM
Subject: [PHP] Sessions + Variables + includes
Hi
Sorry for my bad english ;-)
I'm writing an application using php and sessions.
In the first include file i'm writing
3 matches
Mail list logo