You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stickiness is a core concept in Unleash that deterministically selects the correct variant based on previous input, meaning that if you were already "inside" of a rollout percentage or received a variant, given the same input, you would get the same evaluation result in the next cycle. Stickiness in Unleash defaults to userId or sessionId. If none of these are present it returns a random result.
This SDK does not provide any default settings for sessionId like we introduced in the javascript SDK. This means that if you have rollout based strategies or strategy variants, you might get a different result on each request to the frontend API, resulting in uneccesary 200s and payloads being transmitted over the wire. If no sessionId is provided, we should default it.
Background
No response
Solution suggestions
No response
The text was updated successfully, but these errors were encountered:
After a quick chat I think what you want here is a default context value for the session id if none is provided. Updated the title but feel free to correct me if you mean something else. My comment was going a different route, possibly a different issue for our backend.
gastonfournier
changed the title
Provide a default SessionId value for the Unleash context
Provide a default SessionId value for Unleash context
Apr 22, 2025
Describe the feature request
Stickiness is a core concept in Unleash that deterministically selects the correct variant based on previous input, meaning that if you were already "inside" of a rollout percentage or received a variant, given the same input, you would get the same evaluation result in the next cycle. Stickiness in Unleash defaults to userId or sessionId. If none of these are present it returns a random result.
This SDK does not provide any default settings for sessionId like we introduced in the javascript SDK. This means that if you have rollout based strategies or strategy variants, you might get a different result on each request to the frontend API, resulting in uneccesary 200s and payloads being transmitted over the wire. If no sessionId is provided, we should default it.
Background
No response
Solution suggestions
No response
The text was updated successfully, but these errors were encountered: