nsICookiePromptService

IID:72f8bb14-2810-4f38-8d0d-290c5401f54e
Inherits From:nsISupports

This interface is intended to be used as a service. To create an object implementing this interface:

var obj = Components.classes["@mozilla.org/embedcomp/cookieprompt-service;1"].
            getService(Components.interfaces.nsICookiePromptService);

This interface is implemented by the following components:


Constants

PRUint32 DENY_COOKIE = 0
PRUint32 ACCEPT_COOKIE = 1
PRUint32 ACCEPT_SESSION_COOKIE = 2

Methods

PRInt32 cookieDialog ( nsIDOMWindow parent , nsICookie cookie , ACString hostname , PRInt32 cookiesFromHost , PRBool changingCookie , out PRBool rememberDecision )

PRInt32 cookieDialog ( nsIDOMWindow parent , nsICookie cookie , ACString hostname , PRInt32 cookiesFromHost , PRBool changingCookie , out PRBool rememberDecision )

Arguments:
parent
cookie
hostname
cookiesFromHost
changingCookie
rememberDecision

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com