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 Options Defined 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

This class has no public properties.

Public Methods

Method Defined By

Public Events

Event Defined By