SET cookie by defining just date

Instead of putting a fixed time for the cookie expire, just enabled it
so that dev can create cookies with a simple date number.