JurkMonkey
Programmer
Hey Everyone,
I'm trying to create a login page. I need to store the username once validated so I figured, use a session variable...
So I'm setting the variable
Then when I re-post back to the same page I don't have the session variable anymore...
any help?
I'm trying to create a login page. I need to store the username once validated so I figured, use a session variable...
So I'm setting the variable
Code:
session_register("loginusername");
$_SESSION["loginusername"] = $_POST["txtUsername"];
Then when I re-post back to the same page I don't have the session variable anymore...
any help?