RecordReminder

Examples

The following function uses the cookie property to record a reminder for users of an application. 
The cookie expiration date is set to one day after the date of the reminder.
 // Record a cookie of the form "@=" to map   
   // from  in milliseconds since the epoch,   
   // returned by Date.getTime(), onto an encoded expression,   
   //  (encoded to contain no white space, semicolon,   
   // or comma characters)   


Enter your name. When you return to this page within a year, you will be greeted with a personalized greeting.

Enter your name: