Free-Conversant Support / Cookie Conditional: cookie.[name].exists
 Home   About Conversant   Free Sites   Hosting   Support   XML-RPC 

Search




Subject Cookie Conditional: cookie.[name].exists
Posted 8/9/2003; 10:52 AM by Seth Dillingham
In Response To (#7325)
Label Docs Read 1211
<Previous Next> Thread: Forward chronological view Reverse chronological view Hierarchical outline view Edit Reply

Cookie Conditional Macro: cookie.[name].exists

Operators:

  • none

Usage Notes

  • Tests for the existence of a cookie in the current HTTP request.
  • Substitute the actual name of a cookie for the [name] (no brackets) portion of the macro.
  • Use this conditional before testing other properties of the cookie.

Example

This example will show the first line if the cookie exists, and the second line if it does not.

<!--#if condition="cookie.wysiwygEditor.exists"-->

1. You have specified whether or not you want to use the WYSIWYG message editor in the discussion forum.

<!--#else-->

2. You have not specified whether or not you want to use the WYSIWYG message editor in the discussion forum.

<!--#endif-->

Here is the above code in action:

2. You have not specified whether or not you want to use the WYSIWYG message editor in the discussion forum.
<Previous Next> Thread: Forward chronological view Reverse chronological view Hierarchical outline view Edit Reply
ENCLOSURES

None.
REPLIES

None.
TRACKBACKS



This site managed with Conversant, © Copyright 2008 Macrobyte Resources