yesod-session-persist-0.0.0.1: SQL session backend for Yesod
Safe HaskellSafe-Inferred
LanguageGHC2021

Yesod.Session.Freeze

Synopsis

Documentation

assignSessionFreeze Source #

Arguments

:: (MonadHandler m, HasSessionEmbeddings (HandlerSite m)) 
=> Maybe SessionFreeze

Just to freeze the session, or Nothing to cancel any previous request for session freezing and restore the default behavior

-> m () 

Indicate whether the session should be frozen for the handling of the current request

At the end of the request handler, if the value is Just, no database actions will be performed and no cookies will be set.