Code refactoring. GenerateCookieValue by url referrer has been implemented.