session struct impl-d