efw4.X

cookie.set

The set function is established to set data to a cookie.

Sample

cookie.set("USER_ID", "Wang");

API

Calling Returning
cookie. set ( key, value ) void
Parameters Type Description
key String To identify the cookie info.
value String The info to set into the cookie.