nsISessionStartup Interface Reference


Inheritance diagram for nsISessionStartup:
Collaboration diagram for nsISessionStartup:

Public Member Functions

boolean doRestore ()

Public Attributes

readonly attribute AString state
const unsigned long NO_SESSION = 0
const unsigned long RECOVER_SESSION = 1
const unsigned long RESUME_SESSION = 2
readonly attribute unsigned long sessionType

Detailed Description

nsISessionStore keeps track of the current browsing state - i.e. tab history, cookies, scroll state, form data, POSTDATA and window features

  • and allows to restore everything into one window.

Definition at line 47 of file nsISessionStartup.idl.

Member Function Documentation

boolean nsISessionStartup::doRestore ( )

Determine if session should be restored

Member Data Documentation

const unsigned long nsISessionStartup::NO_SESSION = 0

What type of session we're restoring. If we have a session, we're either restoring state from a crash or restoring state that the user requested we save on shutdown.

Definition at line 62 of file nsISessionStartup.idl.

const unsigned long nsISessionStartup::RECOVER_SESSION = 1

Definition at line 63 of file nsISessionStartup.idl.

const unsigned long nsISessionStartup::RESUME_SESSION = 2

Definition at line 64 of file nsISessionStartup.idl.

readonly attribute unsigned long nsISessionStartup::sessionType

Definition at line 66 of file nsISessionStartup.idl.

readonly attribute AString nsISessionStartup::state

Definition at line 50 of file nsISessionStartup.idl.

The documentation for this interface was generated from the following file: