diff --git a/src/router/index.js b/src/router/index.js index d956af773..75b01cea8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -56,6 +56,11 @@ const routes = [ log(" --cookie: ", getFunnelCookie()); log(` --from.redirectedFrom:>${JSON.stringify(from.redirectedFrom)}<`, ""); + // after session is validated, remove the fromHeritage querystring if it exists so session expiration works + if (to.query) { + delete to.query[queryStrings.FROM_HERITAGE]; + } + await analyticsMixin.methods.validateSession(); if (getFunnelCookie()?.SuppressConceptFunnel) {