Sessions are a handy tool for storing variables, but the are a common morthod of hackin! So I would not trus the unique id! Store the username and password in the session, but crypt the password - both in your database and in the session. You should NEVER store an uncrypted password!
On every "member page" you run a query on the username and password to check that they are correckt.
Eg.:
-- create and store variables in a session --
session_start();
$SESSION['user'] = $user;
$SESSION['pass'] = crypt($password, "Key");
If you search this board, you will find that there is a lot of discussion whether to use md5() or crypt(). Both methods are good, so choose the one that you like the best!
Remember that crypt can only handle 8 character... In other words, crypt("12345678", "Key") returns the same value as crypt("123456789123456789","Key")