Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

Cinema.RemoveCookie

class Cinema.RemoveCookie extends %CSP.Page

Removes the cookie used by the Cache Cinema sample application

Method Inventory

Methods

classmethod OnPage() as %Status
Inherited description: Event handler for PAGE event: this is invoked in order to generate the content of a csp page.
classmethod OnPreHTTP() as %Boolean
Event handler for PREHTTP event: this is invoked before the HTTP headers for a CSP page have been sent. All changes to the %CSP.Response class, such as adding cookies, HTTP headers, setting the content type etc. must be made from within the OnPreHTTP() method. Also changes to the state of the CSP application such as changing %session.Preserve, %session.EndSession or %session.AppTimeout must be made within the OnPreHTTP() method. Return 0 to prevent OnPage() from being called.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab