SAPO::Utility.Cookie->remove

This method will removes a cookie

This is static method.

Syntax

SAPO.Utility.Cookie.remove(<string>, <string>, <string>)

Compatibility

All browsersYes

Depends

Input Parameters

  • (string) string : Cookie name
  • (string) string : (Optional) Path (default is '/')
  • (string) string : (Optional) Domain (default is current host)

Sample

 http://js.sapo.pt/SAPO/Utility/Cookie/sample/

Example

SAPO.Utility.Cookie.remove('id'); 

Community feedback

Error: Failed to load processor AddComment
No macro or processor named 'AddComment' found