Klaus Mock: Session Cookies

Beitrag lesen

Hallo,

Ich möchte gerne Cookies anlegen, die beim Schließen des Browsers verfallen (Session Cookies). [...] Muss ich einfach das expire weglassen?

Ich hoffe mir kann da jemand weiterhelfen.

Sicher, Lesen bildet:

<cite src="CGI.pm">
an expiration time
This is a time/date string (in a special GMT format) that indicates when a cookie expires. The cookie will be saved and returned to your script until this expiration date is reached if the user exits the browser and restarts it. If an expiration date isn't specified, the cookie will remain active until the user quits the browser.
</cite>

Der letzte Satz dürfe Deine Frage wohl beantworten.
Grüße
  Klaus