view and session