LassoScript Utility
Basics Browse Detail

[Client_Cookies]

Tag Link [Client_Cookies] Category Client
Type Substitution Source Available Yes
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type Array Security None
Implementation LDML Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0

Description

[Client_Cookies] returns a pair array containing every cookie sent along with the current HTTP request.

Syntax

[Client_Cookies]

Parameters

No Parameters Required.

Examples

To display a list of all cookies sent with the current HTTP request:

Use the [Client_Cookies] tag. The following example loops through the [Client_Cookies] tag displaying each cookie's name and value.

[Loop: (Client_Cookies)->(Size)]
  <br>[Client_Cookies->(Get: (Loop_Count))->First]
  = [Client_Cookies->(Get: (Loop_Count))->Second]
[/Loop]

<br>Username = John
<br>Password = MySecretPassword