How to reproduce: - Create new W# app from the suave template - In the Main.fs file, under the Main function call some Rpc function that will Login the user (you have to pass context to it). eg.
1 2 3 4 5 6 7 8 9 10
let Main = let pageSitelet = Application.MultiPage (fun ctx endpoint -> match endpoint with | EndPoint.Home -> HomePage ctx | EndPoint.Play(playEndpoint) -> match playEndpoint with | PlayEndPoint.NoAuth -> let response = Server.AuthUser **ctx** None`
- make a redirect to other url, call another Rpc function that will try to return the logged user name
Actual: unable to find user that has logged in
This issue does not exist when app runs under IIS.