Simple user login and signup framework using PHP and JS with keepme signin option and session table, automatic mail for verification and forgot password.
function login()
{
var user=new User(username,password);
var keepme='FALSE';//For keepme signed in.
if($('#keepMeLogin').is(":checked"))
{
keepme='TRUE';
}
user.logIn(keepme,loginAction);
}
function logup()
{
var record=new Record(firstname,lastname,email,password,true);
record.register(signUpAction);
}
Enjoy :)