i have the following script which checks a username and pass from a db and
if it is correct it starts a session..
The problem is that when i go to next page the session is gone.!!
What must i do to start the session and keep it permanent until the uses
$db = mysql_select_db("cosmonaut",$handle);
$auth=mysql_query("select * from users where user_name='$username' and
if ($match > 0)
$userid = session_id();
echo "wrong pass";
PGP KEY ID: 0xA86600E9