Cookie::delete (method)

Return to Knowledgebase

Purpose

Expires cookie

Location

users/classes/Cookie.php

Parameters

This function does not take any arguments

Example

Cookie::delete('cookieName')

Further Documentation:

Doesn't technically delete the cookie. It expires it and the system deletes it. Cookie name is set in init.php.