Ok, so if a user registers on my site, then how can I make it so that they are automatically logged in?
I've tried setting something like:
PHP Code:
$_SESSION["Login"] = "Yes";
on the registration page,
and then specifying a username the same way, but the log in still doesn't work.
Can anyone suggest a way to make this work?