Object::loadFromCookie
Summary:
This method will deserialize an object previously serialized by the storeToCookie method.
Serialized objects are stored in WDDX format. This method, along with storeToCookie, may
be used to save object instances to and from cookies.
Parameters:
Parameter |
Description |
Default |
Required |
include |
Comma-separated list of attributes to include. If not list is provided,
then all attributes are included.
|
|
No |
exclude |
Comma-separated list of attributes to exclude. If not list is provided,
then all attributes are included.
|
|
No |
cookie |
The name of the cookie containing the WDDX object.
|
"{appname}_{classname}" |
No |
Returns:
Example:
<!--- save customer information to a cookie --->
<cf_cfoInvokeMethod method="aPerson.storeToCookie" expires="NEVER">
<!--- load customer information when needed.--->
<cf_cfoInvokeMethod method="aPerson.loadFromCookie">
|