home *** CD-ROM | disk | FTP | other *** search
- <!--Created with NetObjects Script Component Pad-->
- <!-- file cookieComponent.ecc
- ScriptComponent Interface file for cookie.js -->
-
-
- <?XML?>
- <!DOCTYPE COMPONENT SYSTEM "ecmascriptcomponent.dtd">
-
- <COMPONENT NAME="com.netobjects.cookieComponent" ENV="client"
- DISPLAYNAME="Cookie"
- HINT="Creates a cookie component that allows get/set functions."
- SRC="cookie.js">
-
- <PROPERTY NAME="name" TYPE="STRING"
- DISPLAYNAME="name"
- HINT="(REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page."
- DEFAULTVALUE="cookie1">
- </PROPERTY>
-
-
- <PROPERTY NAME="cookieName" TYPE="STRING"
- DISPLAYNAME="cookieName"
- HINT="Enter the name of the cookie that you wish to manipulate.">
- </PROPERTY>
-
-
- <PROPERTY NAME="value" TYPE="STRING"
- DISPLAYNAME="value"
- HINT="Enter the value that you wish to put into the cookie.">
- </PROPERTY>
-
-
- <PROPERTY NAME="year" TYPE="STRING"
- DISPLAYNAME="year"
- HINT="Enter the expiration year after which the cookie to no longer be valid."
- DEFAULTVALUE="1999">
- </PROPERTY>
-
-
- <PROPERTY NAME="month" TYPE="STRING"
- DISPLAYNAME="month"
- HINT="Enter the expiration month after which the cookie to no longer be valid."
- DEFAULTVALUE="9">
- </PROPERTY>
-
-
- <PROPERTY NAME="day" TYPE="STRING"
- DISPLAYNAME="day"
- HINT="Enter the expiration day after which the cookie to no longer be valid."
- DEFAULTVALUE="30">
- </PROPERTY>
-
-
- <PROPERTY NAME="path" TYPE="STRING"
- DISPLAYNAME="path"
- HINT="Enter the path that this cookie will be valid within.">
- </PROPERTY>
-
-
- <PROPERTY NAME="domain" TYPE="STRING"
- DISPLAYNAME="domain"
- HINT="Enter the domain that this cookie will only be valid within."
- DEFAULTVALUE="">
- </PROPERTY>
-
-
- <PROPERTY NAME="secure" TYPE="BOOLEAN"
- DISPLAYNAME="secure"
- HINT="Enter whether or not this cookie will utilize SSL to get/put the cookie data."
- VALUESET="true|false"
- DEFAULTVALUE="false">
- </PROPERTY>
-
-
- <METHOD NAME="setCookie">
- <PARAMETER NAME="name"
- DISPLAYNAME="name"
- Hint="Name of the Cookie Component being used"/>
- </METHOD>
-
- <METHOD NAME="getCookie">
- <PARAMETER NAME="name"
- DISPLAYNAME="name"
- Hint="Name of the Cookie Component being used"/>
- </METHOD>
-
- <METHOD NAME="deleteCookie">
- <PARAMETER NAME="name"
- DISPLAYNAME="name"
- Hint="Name of the Cookie Component being used"/>
- </METHOD>
-
- <METHOD NAME="setcookieValue">
- <PARAMETER NAME="newCookie" TYPE="STRING"
- DISPLAYNAME="New Cookie Value"
- Hint="Sets the cookie value to this new value."/>
- <PARAMETER NAME="name"
- DISPLAYNAME="name"
- Hint="Name of the Cookie Component being used"/>
- </METHOD>
-
- <ICON SRC16="cookie.gif"/>
-
- <HELP SRC="Cookie.html"/>
-
- </COMPONENT>
-