Cookie

Developer

Blue Coast Web

3rd Party (Free)

5 downloads (last 90 days)

Download v1.1

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Who doesn't love cookies?

Set a cookie:

{exp:cookie:set name="chocolate" value="chip" seconds="86400"} 

The seconds parameter is optional, defaulting to 0:

 {exp:cookie:set name="chocolate" value="i am a session cookie"}

And retrieve it in one gulp:

What a delicious {exp:cookie:get name="chocolate"}!

Or savour it, if you prefer:

    {exp:cookie:get_here name="peanut_butter"}

        The value of the exp_peanut_butter cookie is: {peanut_butter}

    {/exp:cookie:get_here}

The name parameter is sans the EE cookie prefix—by default exp_.
You can ascertain the effective EE cookie prefix by viewing the output of the following tag:

 {exp:cookie:prefix}

By default the name of the interpolated variable is the same as that supplied to the name parameter.
If you’d prefer something different then specify a variable paramter.

    {exp:cookie:get_here name="username" variable="cookie"}

        Hello {username}, have a {cookie}!

    {/exp:cookie:get_here}

Delete a cookie:

 {exp:cookie:delete name='chocolate'}

Download Cookie

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.1 Aug 6, 2014

Cookie Links

This entry was created July 31, 2014, 9:09 am.
This entry was last updated August 6, 2014, 11:30 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!