How is the SiteMinder SMSESSION cookie and other cookies are set in the browser?
Some related behaviors seen:
There can be multiple reasons but in general, ensure there is only 1 SMSESSION cookie throughout the life of the user session.
There can be the following situations that cause unexpected behavior.
When a cookie appears from nowhere, it could be a cached cookie.
Browser is submitting a cookie from the cached page.
Generally, when multiple cookies appear, investigate what the set-cookie command parameters were for those cookies.
set-cookie: SMSESSION=<value1>; path=/; domain=.example.com;
This SMSESSION cookie can be overwritten with a new value only if the parameters match.
set-cookie: SMSESSION=<value2>; path=/; domain=.example.com;
Now, only have 1 SMSESSION with <value2> value.
But the cookie will not be overwritten if the set-cookie has different parameters, like:
set-cookie: SMSESSION=<value2>; path=/test; domain=.example.com;
set-cookie: SMSESSION=<value2>; path=/; domain=www.example.com;
set-cookie: SMSESSION=<value2>; path=/; domain=.example.com; secure;
set-cookie: SMSESSION=<value2>; path=/; domain=.example.com; samesite=none;
set-cookie: SMSESSION=<value2>; path=/; domain=.example.com; secure; samesite=none;
If one of the above is sent to the browser, it will result in 2 SMSESSION cookies, as long as the set-cookie parameters are different from the existing SMSESSION cookie.
SMSESSION=<value>, SMSESSION=<value2>
Same goes for SMSESSION=LOGGEDOFF cookie.