Cookie::put (method)

Purpose:

Puts a cookie on the user's system

Example:

Cookie::put('UserSpice', 'thisIsCookieData' , Config::get('remember/cookie_expiry'));

Data Type(s):

Cookie::put($name, $value, $expiry)

Location:

users/classes/Cookie.php

Details:

Puts a cookie on the user's system.

<?php Cookie::put('UserSpice', 'thisIsCookieData' , Config::get('remember/cookie_expiry')); ?>