set session timeout.