You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
path "/session">=> statefulForSession // Session.State.CookieStateStore>=> context (fun x ->match HttpContext.state x with| None ->// restarted server without keeping the key; set key manually?letmsg="Server Key, Cookie Serialiser reset, or Cookie Data Corrupt, "+"if you refresh the browser page, you'll have gotten a new cookie."
OK msg
| Some store ->match store.get "counter"with| Some y ->
store.set "counter"(y +1)>=> OK (sprintf "Hello %d time(s)"(y +1))| None ->
store.set "counter"1>=> OK "First time")
While Giraffe implements functionality more in line with asp.net core: Giraffe/Auth.fs
The text was updated successfully, but these errors were encountered:
Description
Suave implements cookie session. See SuaveIO Example/Program.fs
While Giraffe implements functionality more in line with asp.net core: Giraffe/Auth.fs
The text was updated successfully, but these errors were encountered: