So I'm using an external DLL with Unity to login to a web service and access functions from it.
The DLL works perfectly fine in a command prompt project, but when run in Unity I can log in successfully, but when I try to use any commands I get a session has expired error.
The DLL stores session cookies in the endpoint, so it appears that Unity isn't allowing this custom endpoint to store cookies.
Does anyone know how to make Unity allow custom endpoints to store cookies? Or where in an endpoint I could parse the cookie from so I could feed it in with any service commands?
Just as a reference, here's the exact error code I'm getting in Unity:
FaultException: Your session has expired. System.ServiceModel.ClientRuntimeChannel.Request (System.ServiceModel.Description.OperationDescription od, System.Object parameters) System.ServiceModel.ClientRuntimeChannel.DoProcess (System.Reflection.MethodBase method, System.String operationName, System.Object parameters) System.ServiceModel.ClientRuntimeChannel.Process (System.Reflection.MethodBase method, System.String operationName, System.Object parameters)