View Full Version : AJAX Login Help

04-19-2006, 07:40 AM
Okay, I have this login form:

<form action="process.php" method="POST">
<input class="box" name="user" type="text" maxlength="30" value="<? echo $form->value("user"); ?>">
<input class="box" name="pass" type="password" maxlength="30" value="<? echo $form->value("pass"); ?>">
<input type="hidden" name="sublogin" value="1">
<input type="checkbox" name="remember" <? if($form->value("remember") != ""){ echo "checked"; } ?>>
<input size="10" class="button" name="submit" value="Login" type="submit">

How do I submit the information (username, pw, remember) to the process.php, without reloading the webpage. Then once it's finished submitting and process.php verifies the information is correct, change the page to a logged in page but without refreshing :p Also... This login script I have uses sessions, would that be a problem with AJAX?