it seems fine for me , but I have some comments :
*did you register the session first before checking if it's registered or not ?
*why did you use double quote in : $dbPass = "$DB_PASS"; ? or you want it to be saved as a string ?
* why are using the > instead of == in if($rowCheck > 0) ? because you are checking for one member login not more than one !! if the num of rows returned by mysql is more then 1 there should be a problem in the database because only one user can login using that unique username .. I mean it would be better like this :
*also I hope you noticed that double S in this query : $result=mysql_query("select * from SSearch_users where username='$user' AND password='$pass'", $db); ... is it SSearch_users ?
* why don't you run it on a server first to test it to make sure nothing is wrong ?