<div dir="ltr">That sounds like a good proposal. I&#39;ve just pushed a patch to yesod-core to address this, it will be included in the next release (not too long from now).<div><br></div><div>Michael<br><br><div class="gmail_quote">

On Thu, May 12, 2011 at 3:47 AM,  <span dir="ltr">&lt;<a href="mailto:vagif.verdi@gmail.com">vagif.verdi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

If Expires is not set explicitly, then it defaults to end-of-session. The<br>
length of a session can vary depending on browsers and servers, but generally<br>
a session is the length of time that the browser is open for (even if the user<br>
is no longer at that site).<br>
<br>
I propose if clientSessionDuration is set to 0 then do not set Expires time.<br>
<div><div></div><div class="h5"><br>
On Wednesday, May 11, 2011 05:14:26 PM you wrote:<br>
&gt; reply-all, sorry Vagif:<br>
&gt;<br>
&gt; On Thu, May 12, 2011 at 7:39 AM,  &lt;<a href="mailto:vagif.verdi@gmail.com">vagif.verdi@gmail.com</a>&gt; wrote:<br>
&gt; &gt; Currently yesod provides clientSessionDuration settings.<br>
&gt; &gt;<br>
&gt; &gt; But i want to change it to expire session when browser is closed.<br>
&gt; &gt;<br>
&gt; &gt; How do i do that ?<br>
&gt;<br>
&gt; How do other web frameworks handle this?<br>
&gt;<br>
&gt; &gt; Regards,<br>
&gt; &gt;<br>
&gt; &gt; Vagif Verdi<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; web-devel mailing list<br>
&gt; &gt; <a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
&gt; &gt; <a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
<br>
_______________________________________________<br>
web-devel mailing list<br>
<a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
</div></div></blockquote></div><br></div></div>