[web-devel] How to expire session when browser is closed ?
Michael Snoyman
michael at snoyman.com
Thu May 12 06:25:49 CEST 2011
That sounds like a good proposal. I've just pushed a patch to yesod-core to
address this, it will be included in the next release (not too long from
now).
Michael
On Thu, May 12, 2011 at 3:47 AM, <vagif.verdi at gmail.com> wrote:
> If Expires is not set explicitly, then it defaults to end-of-session. The
> length of a session can vary depending on browsers and servers, but
> generally
> a session is the length of time that the browser is open for (even if the
> user
> is no longer at that site).
>
> I propose if clientSessionDuration is set to 0 then do not set Expires
> time.
>
> On Wednesday, May 11, 2011 05:14:26 PM you wrote:
> > reply-all, sorry Vagif:
> >
> > On Thu, May 12, 2011 at 7:39 AM, <vagif.verdi at gmail.com> wrote:
> > > Currently yesod provides clientSessionDuration settings.
> > >
> > > But i want to change it to expire session when browser is closed.
> > >
> > > How do i do that ?
> >
> > How do other web frameworks handle this?
> >
> > > Regards,
> > >
> > > Vagif Verdi
> > >
> > > _______________________________________________
> > > web-devel mailing list
> > > web-devel at haskell.org
> > > http://www.haskell.org/mailman/listinfo/web-devel
>
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110512/eea79d24/attachment.htm>
More information about the web-devel
mailing list