Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
  • Helpful?
  • 1 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

chs_cookie

this plugin deals with cookies the Textpattern way. It is works almost in the same way that chs_if_urlvar works for GET variables, barring some differences related to the way cookies are used.

It allows you to write cookie values on the page, condition parts of the page based on cookie value or existance, and it allows you to create new cookies, all using Textpattern markup.

Article Request Count:

Archived [?]: dead link

Keywords/tags:
Initially released:
Febuary 6, 2006
Posted here:
07 Feb 2006
Article modified:
29 Apr 2011

Comments/questions? Leave a message in the form.

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (3)

Joe Lapp:
Fantastic plugin, thank you!

I had to add support for txp:else, though. It was easy enough: for the case where the condition is met parse(EvalElse($thing,true)) and for the case where the condition is not met parse(EvalElse($thing,false)).

Does anyone have a copy of this plug in?

The download link is no longer working

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern