I know many people have probably asked similar things. But I think my question is a bit different. I'm new to php and trying to make a login script for a webpage.. Basically I have a form that takes in username/password and the submit goes to loginscript.php loginscript has no outputs it just processes the query for login and stuff like that and then uses header("Location:asdfafaa") to redirect back to the page where the user logged in. I need to know how to pass variables (not in the url). I want to have hidden variables that travel around with the user as they travel around my site. The variables I want are the Username and sessionid. I thought possibly i could use $_post but I cant figure it out. Can anyone explain to me how this usually done? Is there a better way that I'm not thinking about? If anyone knows any tutorials on php login for interactive websites that would be great.