Use counter for sessid