Using alternate sessionization keys
Session tags can change during a session. If this is likely to happen in your web application, you must define alternate sessionization keys for each sessionization rule.
Alternate sessionization keys allow the system to link session elements together in a traffic where the session tag changes.
For example, a sessionization rule is based on a URI path parameter in which the sessionization key is uid. For some traffic, the value of this sessionization key (in other words, the session tag) is userA; elsewhere, the value is userB. Without the alternate sessionization key, the system treats these as two separate sessions.
Subsequently, the server might suggest using the session tag userX (based on a cookie key uid) instead of userA. You must define an alternate sessionization key in the sessionization rule to handle this fact. As a result, the system treats traffic in which the value of the URI path parameter key uid changed from userA to userX (as suggested by the cookie) as one session.
To create alternate sessionization key
- In the Sessionization rules list, expand the sessionization rule, for which you want to create alternate sessionization key by clicking the plus ➕️ button.
- Click New alternate sessionization key.
- Fill in the fields as described in the Creating-sessionization-rules procedure.
- Click Save.
The alternate sessionization key is created.