validate session name