
Michael. Show me please how do to lookup cookies in yesod. Thanks. -- Best regards, Cheshkov Anton Phone: +7 909 005 18 82 Skype: cheshkov_anton

Hi Anton, you may want to look into the lookupCookie and lookupCookies
functions if you haven't done so already:
http://hackage.haskell.org/packages/archive/yesod-core/0.7.0.2/doc/html/Yeso...
(it's previous version of yesod but it should be the same)
you could use it directly inside your handler, something like this: (haven't
tested it though)
getYourRouteR = do
maybeSomeVal <- lookupCookie "someName"
...
cheers
----nubis :)
On Wed, Apr 27, 2011 at 2:17 PM, Anton Cheshkov
Michael. Show me please how do to lookup cookies in yesod.
Thanks.
-- Best regards, Cheshkov Anton Phone: +7 909 005 18 82 Skype: cheshkov_anton
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
participants (2)
-
Anton Cheshkov
-
Nubis