Fixed return value error in session example.