Web Features Learning Mode

If no expiration time is explicitly set for a cookie, what happens to it?