s@rdalya

 

CookieManager

Page history last edited by vozcelik 3 yrs ago


 

CookieManager

(extends Object)


Object Summary

This object is used for adding, updating and reading cookies.

 

This way the users' personal preferences can be stored in their PC for later referral. Hence personalization.

 

Several objects in s@rdalya utilizes CookieManager to store their state information.


Constructor

This object has no constructor. It is accessed statically.


Methods

 

CookieManager.set(strName,strValue,intDays)

 

parameters

strName - The name of the cookie.

strValue - The value of the cookie.

intDays - For how many days will the cookie remain in client's PC (0 for immediate removal after expiration of browser session).

 

comments

Sets a new cookie.


CookieManager.get(strName)

 

returns

The value of the cookie.

 

comments

Gets the value of the cookie with name strName.


see also

StyleManager


Usage Examples

 

Comments (0)

You don't have permission to comment on this page.