Function deleteCookie

  • Deletes a cookie. Note that 'name' and 'pageOnly' should be exactly the same as when the cookie was set.

    Parameters

    • name: string

      The name of the cookie to be deleted.

    • pageOnly: boolean

      Whether the cookie is scoped to the entire site, or just this page. Deleting a site-level cookie has no impact on page-level cookies, and deleting page-level cookies has no impact on site-level cookies, even if the cookies have the same name.

    Returns void

Generated using TypeDoc