Issue #130, check session id and date validation