Prevent Yesod from being generated from client_session_key.aes file
2 answers
Yesod documentation says that the makeSessionBackend
default method "uses client communication with a 2 hour timeout" and that "return Nothing
disconnects sessions". So the solution is to override this method and return Nothing
:
instance Yesod App where
makeSessionBackend _ = return Nothing
+5
source to share