Session Variable Keywords Not Consistently Replaced

(Lewis) #1


I’ve got a session variable that’s set using a Trigger - userid.

I’ve set the Trigger to populate the value of the session variable with an MD5 hashed string, which is used later by storing it in a Data Record’s metadata. This is all fine but, later on in the Trigger, I send an email with a link in it and I want to use the value of the session variable in the link - ?u=Gjd7xcjk3os for example. When I try to generate the email using %globals_session_userid%, the keywords that are used earlier in the Trigger to generate the hash are shown instead, rather than the end value (Gjd7xcjk3os for example).

Any ideas?