setProperty
Usage
som.setProperty({hasVisited: "yes"});
Description
Sets a "cookie" (property/value pair) object in the current shared object and saves it to the user's hard drive.
Parameters
- $obj
- An object that represents the property/value pair to be stored in the shared object
Returns
Nothing
getProperty
Usage
som.getProperty("hasVisited");
Description
Returns the value for the requested property.
Parameters
- $name
- A string that represents the name of the property you want to retrieve
Returns
String
clear
Usage
som.clear();
Description
Clears the current shared object.
Returns
Nothing