'Session.getTemporaryActiveUserKey() keeps changing
My understanding from the docs is that Session.getTemporaryActiveUserKey()
changes for a user every 30 days. In my past experience using it, this was true but over the past couple of days it is now changing and can no longer be relied on to change only every 30 days. I have a custom formula that I called repeatedly for just myself and logged the result of Session.getTemporaryActiveUserKey()
here:
2022-05-03 19:27:25.606 MDT key AZPrZfeo+F6LjIDVp
2022-05-03 19:27:25.697 MDT key AZPrZfeo+F6LjIDVp
2022-05-03 19:27:25.809 MDT key AZPrZfeo+F6LjIDVp
2022-05-03 19:27:25.827 MDT key AZPrZfeo+F6LjIDVp
2022-05-03 19:27:25.830 MDT key AZPrZfeo+F6LjIDVp
2022-05-03 19:27:25.890 MDT key AIPNip3sEIA371wT
2022-05-03 19:27:25.892 MDT key AIPNip3sEIA371wT
2022-05-03 19:27:25.926 MDT key AZPrZfeo+F6LjIDVp
2022-05-03 19:27:25.929 MDT key AZPrZfeo+F6LjIDVp
2022-05-03 19:27:25.973 MDT key AZPrZfeo+F6LjIDVp
Am I reading the docs wrong or did Google change something?
Solution 1:[1]
Observed the same - ID changing between 2 values. Only visible since 2nd of May for me. AND - one of the two IDs I get is the same since more than 30 days!
I created a issue in Googles tracker: https://issuetracker.google.com/issues/231606423 Thanks for starring it!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |