A lightweight javascript based cookiemanager