SetCookie(NAME, COOKIE_VALUE, DAYS);
- NAME : the name for the cookie. You’ll use the same name when you read the value of the cookie.
- COOKIE_VALUE : it would be the value you want stored as the cookie.
- DAYS : optional, If used, replace DAYS with the number of days the cookie shall last. If DAYS is omitted, the cookie will last until the browser is closed.
ReadCookie(NAME);
- NAME : the name of the cookie you want to see. If a cookie by the name you specify does not exist, the function will return a null string.