counter for unic id in session cookie