Tweakr
    Preparing search index...

    Function deleteCookie

    • Deletes a cookie by setting its expiration date to a past date.

      Parameters

      • name: string

        The name of the cookie to delete.

      • path: string = "/"

        Optional path of the cookie. Defaults to '/'.

      Returns void

      deleteCookie("sessionId");
      

      1.1.0