We have an application where we are using AngularJS for front end and Web API as back end (REST).
We are creating cookies using cookieStore to save client data. This scenario works well when there is only one server machine involved. But when there 2 machines used through load balancing then IIS throws 403 (Forbidden) status code.
When we create same cookie in WebAPI instead of in AngularJS code works well in Web Farm scenario.
We are using same machine key on both the servers in both the scenarios.
Can any one help me understand why does this happen and what should we do to avoid this?
Aucun commentaire:
Enregistrer un commentaire