remove setter of session

It do nothing special.