Several clients report upgraded 12.52 apache agents stops working in Impersonation.
Upon invetigation, looks like during startimpersonation process, the "smsavedsession" is not getting generated as cookie.
Which will prevent the impersonator to logout.
Smsavedsession is generated only when impersonation sessiont starts. The Web Agent moves the existing SMSESSION to SMSAVEDSESSION and sets a new SMSESSION cookie equal to the new session spec due to a @pushsession directive in the FCC.
This was identified as defect in several versions of R12.51 and R12.52 agents, impacting both IIS and apache. So client needs to either get dev fix or wait for latest CR patches.
However, same use case works on agents prior R12.5 release.