The default Expires value for a cookie is not a static time, but it creates a Session cookie. This will stay active until the user closes their browser/clears their cookies. You can override this as required.
From the linked page:
Setting the Expires property to MinValue makes this a session Cookie,
which is its default value
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…