[web-devel] Yesod Sessions

Michael Snoyman michael at snoyman.com
Thu Jun 16 14:38:24 CEST 2011


Yes, you're correct. That was one of the major goals in the design.

On Thu, Jun 16, 2011 at 3:13 PM, Blake Rain
<blake.rain at massivetactical.com> wrote:
> Hey Michael,
>
> Am I correct in my understanding that in order for two instances of the
> same Yesod application to share session information, they simply need to
> yield the same Key[1] from their encryptKey[2] functions?
>
> If this is the case, then I should not have any problem load-balancing
> over a number of servers, and I won't have to bother with "sticky
> sessions".
>
> Thanks in advance,
>
> - B.
>
> [1]
> http://hackage.haskell.org/packages/archive/clientsession/0.6.0/doc/html/Web-ClientSession.html#t:Key
> [2]
> http://hackage.haskell.org/packages/archive/yesod-core/0.8.2/doc/html/Yesod-Core.html#v:encryptKey
>
>
>



More information about the web-devel mailing list