You are here

function secure_cookie_data_put in Secure Cookie Data 7.2

Same name and namespace in other branches
  1. 7 secure_cookie_data.module \secure_cookie_data_put()

Sets the secure cookie with the given data.

Parameters

string $data: The JSON data to be stored in the cookie.

Return value

boolean TRUE if the cookie was modified/set, FALSE if not.

File

./secure_cookie_data.module, line 21
secure_data_cookie.module @author António P. P. Almeida <appa@perusio.net> @date Thu Nov 21 11:45:23 2013

Code

function secure_cookie_data_put($data) {
  return secureCookieBasic::set($data);
}