Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Angular cannot read cookies in http post response #11247

@santoshkt

Description

@santoshkt

Similar question has been answered https://groups.google.com/forum/#!topic/angular/yc8tODmDm18 and many other places. The solution is to set a timeout to call a digest so that response cookies sync with browser. I had this solution working perfectly in 1.2.8 but got it broken in 1.3.14. Any idea if this has changed ?

I'm not posting any code here because the problem is same as in the link provided and it is working in 1.2.8 Angular version and 1.2.28 version.

I had to change my interceptors for upgrading to 1.3.14 but they all work fine except for the cookies. I can see cookies in browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions