What do you mean by "if the session was not properly created" and how would you idenfity that?