Browse Source

removed cookie constant

pull/45/head
Galip Tolga Erdem 4 years ago
parent
commit
fec82532e2
  1. 2
      apps/public-web/src/EShopOnAbp.PublicWeb/Pages/index.js
  2. 2
      shared/EShopOnAbp.Shared.Hosting.AspNetCore/EShopConstants.cs

2
apps/public-web/src/EShopOnAbp.PublicWeb/Pages/index.js

@ -1,6 +1,6 @@
(function () {
//set anonymous user
let anonymousId = abp.utils.getCookieValue("eshop_anonymousId");
let anonymousId = abp.utils.getCookieValue("anonymous_id");
if (anonymousId != null) {
console.info("Anonymous user set:" + anonymousId);
}

2
shared/EShopOnAbp.Shared.Hosting.AspNetCore/EShopConstants.cs

@ -2,6 +2,6 @@
public static class EShopConstants
{
public const string AnonymousUserCookieName = "eshop_anonymousId";
// public const string AnonymousUserCookieName = "eshop_anonymousId";
public const string AnonymousUserClaimName = "anonymous_id";
}
Loading…
Cancel
Save