Bb 1634

Function setCookie was missing.