Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 514 Bytes

cookie.set.md

File metadata and controls

24 lines (16 loc) · 514 Bytes

cookie.set

The set function is established to set data to cookie.

Sample

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

API

CallingReturning
cookie . set ( key , value )void
ParametersTypeDescription
keyStringTo idetify the cookie info.
valueStringThe info to set into the cookie.