Description
|
By default, when a user clicks the "/surfer/exit" link on any of the pages in our Screensurfer site, they go back to the generic global.stml page. However, there are now 3 additional "portal" pages leading to our Screensurfer global.stml page. What I am trying to do is, when a user exits their session, return them back to the correct portal page (if he entered from "A" he will exit back to "A", etc.).
I created a session variable called EnteredFrom which contains the portal value (A, B, or C), however it seems the following code in the global.stml template doesn't work:
<TEIF Template.Section.EnteredFrom = "Portal_A">
<TEPUTSECTION Portal_A>
</TEIF>
Is it because the variable Template.Section.EnteredFrom is destroyed when the user clicks the "/surfer/exit" link?
Anyway, I wound up appending a name-value pair to the URL like so: /surfer/exit?ref=Portal_A and modifying the global.stml statement to:
<TEIF web.ref = "Portal_A">
<T
|