Lasso Soft Inc. > Home

[ cookie ]

Method

[Cookie] returns the value for a named cookie. Accepts one required parameter, the name of the cookie whose value should be returned.

Note: A cookie's value cannot be retrieved in the same format file in which it is set.

Cookies are sent to the Web server by the visitor's Web browser. The availability of cookies is determined by the visitor's Web browser preferences and the parameters which are specified when a cookie is set.

It is not usually possible to retrieve a cookie that was set on another Web server.

  • Syntax
cookie('Cookie Name')
Examples
  • Beginner

To retrieve the value for a cookie:

Use the [Cookie] method. The following example retrieves the value for a cookie called First_Name.

Code

Cookie('First_Name')
Resources
  • Articles

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 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft