Posted on 11/03/2021 20:50:50
I implemented AfterSessionTrackingNotificationArgs and it works well in our test environment but it breaks now in production when the domains have and enforce ssl. Here's what the code does in test:
http://www.domain-staging.fr -> detects my Dutch IP and redirects to http://www.domain-staging.nl
On production, it seems not to detect my IP (not seeing my code log anything at all) and I stay on https://www.domain.fr
When I turn off "Enforce SSL" on the FR site and browse to http://www.domain.fr, I get properly redirected to http://www.domain.nl (or https://www.domain.fr as that domain also enforces SSL).
Is there a conflict between the new Tracking functionality and the SSL redirects? Is there another place (subscriber or so) I can hook into? Maybe handle this in Global.asax somehow?
Imar