I am using PHP with register_globals ON... since I don't have access to
the host environment.
The way I use sessions is:
session_start();
do some database connection and checking here.
if (condition is met) {
$_SESSION['valid_user'] = $_POST['login'];
}
Is th
[snip]
session_start();
$_SESSION = "user";
$_SESSION = "pass";
This doesn't work of course, but as I said I'm unsure of how the $_SESSION
superglobal is used, and the info I've found about it didn't shed much
light... I hope I'm just tired today 8-)
Another semi-related question is, is it common
2 matches
Mail list logo