Lasso Soft Inc. > Home

[ Client_Cookies ]

Method

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

  • Syntax
Client_Cookies
Examples
  • Beginner

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

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

Code

with c in client_cookies do => {^
    'Cookie Name: '+#c->first
    ' & Cookie Value: '+#c->second
    '\r'
^}

Result

Cookie Name: __utmc & Cookie Value: 219039620
Cookie Name: __utma & Cookie Value: 219039620.181051041.1294015407.1297308863.1297390786.76
Cookie Name: __utmz & Cookie Value: 219039620.1294015407.1.1.utmcsr
Cookie Name: _LassoSessionTracker_lasso-admin & Cookie Value: 88564A8E-3E4F-4530-9716-208FF61DE26C
Cookie Name: _LassoSessionTracker_LEAP & Cookie Value: C42E60F2-CBDE-4968-86D9-9500FE210524

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft