Properties Methods Events Config Options Direct Link
Provider
  CookieProvider

Class Ext.state.CookieProvider

Package:Ext.state
Defined In:CookieProvider.js
Class:CookieProvider
Extends:Provider
The default Provider implementation which saves state via cookies.
Usage:
var cp = new Ext.state.CookieProvider({
       path: "/cgi-bin/",
       expires: new Date(new Date().getTime()+(1000*60*60*24*30)), //30 days
       domain: "extjs.com"
   });
   Ext.state.Manager.setProvider(cp);

Config Options

Config OptionsDefined By
 expires : Date
The cookie expiration date (defaults to 7 days from now)
CookieProvider
 path : String
The path for which the cookie is active (defaults to root '/' which makes it active for all pages in the site)
CookieProvider
 secure : Boolean
True if the site is using SSL (defaults to false)
CookieProvider

Public Properties

PropertyDefined By
  : Object
List compiled by mystix on the extjs.com forums. Thank you Mystix!
Provider
 Slovak : Object
List compiled by mystix on the extjs.com forums. Thank you Mystix!
Provider

Public Methods

MethodDefined By

Public Events

EventDefined By