Javascript Cookie: Expire
Set Cookie to expire in the future
Set Cookie to expire straight away
Get Cookie
This example is of a JS cookie with a set time through the expire method.