Set session variables