We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for <a href="http://modxcms.com/extras/package/618">CookieMonster 0.1-rc1</a> by bbusenius.

    Brief Description:
    CookieMonster is a simple snippet that allows users to interact with cookies. Its primary function is to display a custom chunk if a designated cookie has been set. It can be used to set new cookies or it can be used to interact with cookies that already exist. A cookie that already exists could be a cookie already set by CookieMonster on a previous page or it could be a cookie set by another script/application e.g. jquery. The required parameter is &cookie_name. This parameter can be one of two things: 1. It can be the name of the cookie you wish to interact with if a cookie is already set. 2. It can be the name of a cookie you want to set if you are using CookieMonster to set a cookie. Optional parameters include: &message, &noSet, &redirect, &setCookieTpl. The definitions of these parameters and their possible values, as well as example calls can be found in the comments at the top of the CookieMonster.txt file.