-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ai_user cookie not present after reenabling the cookie #1585
Comments
Simply, re-enabling cookies does not cause the code that creates cookies to execute -- likewise disabling cookies doesn't delete them. The ai_user cookie is still used, but it's only "created" as part of the creating (loading) of the SDK... The assumption is that the next time your app/page loads cookies will be enabled and therefore the ai_user would get created... As your using Vue, can I assume your case is a SPA and you won't be "reloading" and therefore "creating" an instance? |
Exactly, after the first load the page will not be load again. |
users and sessions are slightly different concepts. In theory you could set the value yourself but that is not supported and will be potentially broken in a future release. We already have a I'm going to mark this Issue as an enhancement on the basis that we should add a new function suggestion |
- Add optimization to avoid always updating the cookie value
v2.7.0 is not fully deployed to NPM and all CDN endpoints |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
My app (Vue) starts with the cookies disabled (
disableCookiesUsage
set totrue
).When the user consents cookies, the app enables the cookies (
getCookieMgr().setEnabled(true)
).After a breve navigation the
ai_session
is set but theai_user
is not.I recently moved to the lastest version of the package (from 2.5.X to 2.6.2).
Is this an issue, somehting I am missing or just the
ai_user
is no longer used?The text was updated successfully, but these errors were encountered: