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.

$cookieStore Creating Duplicate Cookies #10995

@nmellempudi

Description

@nmellempudi

We are adding a cookie using $cookieStore as shown below. But this step will also create additional new cookies with sub domain name xyz.abc.com. These new copies are just copy of existing cookies added by prior server call with domain name .abc.com

To provide step by step details

  1. Loading the page xyz.abc.com/index.html sets two cookies with domain .abc.com
  2. Set a cookie on client side $cookieStore.put('cookieAng', 'Test'). Now you will see total 5 cookies.
    Two original cookies with domain name .abc.com
    one new cookie that we set through cookiestore with domain xyz.abc.com
    two additional cookies (copy of original two cookies) with domain name xyz.abc.com

Any thoughts? Below is bower.json

    "angular": "1.2.22",
    "restangular": "1.4.0",
    "angular-animate": "1.2.22",
    "angular-mocks": "1.2.22",
    "angular-route": "1.2.22",
    "angular-cookies": "1.2.22",

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions