register("sess_msg"); $sess->register("sess_warn_msg"); $sess->register("sess_error_msg"); if (isset($user)) { # get/set the $user_total_bookmarks as a user variable. # we use this to keep the total nbr of bookmarks this # user has so we can calculate the list pages correctly. $user->register("user_total_bookmarks"); $bmark = new bmark; $bmark->update_user_total_bookmarks($auth->auth["uname"]); # get/set the $user_last_page as a user variable. # we use this to keep the last page nbr that the user # was looking at so we can default in the future. $user->register("user_last_page"); } ?>