I'd go or the cookiesForUrl function.