Showing posts with label cookies. Show all posts
Showing posts with label cookies. Show all posts

<cookie>

Within the <get_info commid="" responses=""> tag, gets the specified cookie from the user's HTML cookies.

Multiple <cookie> tags may be used within a <get_info commid="" responses=""> tag. Each requested cookie value is returned in a variable of the same name as the cookie itself.

Child of: <get_info commid="" responses="">
Parent of: Nothing

Example:

<cookie>MyCookie</cookie>

<delete_cookie>

Deletes the specified cookie from the user's HTML cookies.

Child of: <html_cookie>
Parent of: <name>
Example:

<delete_cookie>
            <name>MyCookie</name>
</delete_cookie>

<domain>

The domain for which to make a user's HTML cookie available within a <set_cookie> tag.

Child of: <set_cookie>
Parent of: Nothing

Example:

<domain>www.my_domain.com</domain>

<expires>

The expiration date and time to set a user's HTML cookie to within a <set_cookie> tag.

Child of: <set_cookie>
Parent of: Nothing

Example:

<expires>Thu, 01-Jan-1970 00:00:01 GMT</expires>

<get_cookie>

Gets the specified cookie from the user's HTML cookies.

The cookie value is placed in a variable named cookie_result.

Child of: <html_cookie>
Parent of: <name>
Example:

<get_cookie>
            <name>MyCookie</name>
</get_cookie>

<get_info commid="" responses="">

Generates and returns application and session IDs for use in logging or polling (e.g., in a voice recognition session).

This tag can also request the value of any number of cookies using the <cookie> tag. Each requested cookie value is returned in a variable of the same name as the cookie itself.

If <next_node> is present, advances to the specified node upon completion.

If commid is set to YES, a communication ID will be generated and returned for use in a subsequent long polling session. The default value of commid is NO.

If responses is set to YES, the communication ID will send the canned messages CONNECTED and OK in an SMS or IM interaction. The default value of responses is YES.

This tag makes the following variables available for evaluation (in addition to any requested cookie values):

ID – the Interactivation ID for the application. ID is stored in the user's HTML cookies and won't change unless the user deletes the cookie.
COMMID – a communications ID for use in a subsequent long polling session. This variable is only returned if the attribute commid is set to YES.
IPADDRESS – the user's IP address.

Child of: <node name="">
Parent of: <cookie>, <next_node>, <error_node>

Example:

<get_info commid="YES" responses="NO">
            <cookie>Cookie1</cookie>
            <cookie>Cookie2</cookie>
            <cookie>Cookie3</cookie>
            <next_node>a_node</next_node>
            <error_node>error_node</error_node>
</get_info>

<html_cookie>

Allows the application to access and modify the user's HTML cookies.

Child of: <node name="">
Parent of: <get_cookie>, <set_cookie>, <delete_cookie>

Example:

<html_cookie>
            <get_cookie>
                        <name>MyCookie</name>
            </get_cookie>
</html_cookie> 

<name>

The name of a user's HTML cookie to be accessed or modified within a subtag of <html_cookie>.

Child of: <delete_cookie>, <get_cookie>, <set_cookie>
Parent of: Nothing

Example:

<name>MyCookie</name>

<path>

The path within the domain (set in <domain>) for which to make a user's HTML cookie available within a <set_cookie> tag.

The path must be preceded by a slash (/).

Child of: <set_cookie>
Parent of: Nothing
See also: <domain>

Example:

<path>/my_path</path>

<secure>

When set to TRUE, makes a user's HTML cookie set within a <set_cookie> tag only available over a secure (https) connection.

Accepted values are TRUE and FALSE.

Default value: FALSE
Child of: <set_cookie>
Parent of: Nothing

Example:

<secure>FALSE</secure>

<set_cookie>

Sets the specified cookie in the user's HTML cookies.

Child of: <html_cookie>
Parent of: <name>, <value>, <expires>, <domain>, <path>, <secure>
Example:

<set_cookie>
            <name>MyCookie</name>
            <value>AnotherValue</value>
            <expires>Thu, 01-Jan-1970 00:00:01 GMT</expires>
            <domain>www.my_domain.com</domain>
            <path>/subdirectory</path>
            <secure>TRUE</secure>
</set_cookie>

<value>

The new value to set a user's HTML cookie to within a <set_cookie> tag.

Child of: <set_cookie>
Parent of: Nothing

Example:

<value>AnotherValue</value>