I have an ASP/C# web server that serves up a cookie via an HTTP post. If I post directly from the address bar in the browser, the server serves up a cookie (in this case a session id) and the browser knows that it must save it. Now, I also have an angularjs / typescript client that runs in my browser. If I post the exact same command from typescript my browser won't save the cookie. Is this because I have to explicitly save the cookie with the ngCookies library, or should it just be automatic?
I'm a bit of a noob to web dev, and more of a C++ old timer, so it's possible that I'm missing something really fundamental. Any help would be appreciated.