How to return the user to the last page they were on

(Tim) #1

Hi there
I have a page that invites people to create an account.
I’d like to return the end user to that same page, after they’ve finished creating an account.
Does anyone know if this is possible?
Otherwise the person would need to find their way back to the page they were on before clicking the Register link.
One idea was to use JS to initiate the back feature twice but I thought there might be a more elegant way

(Nic Hubbard) #2

Have you looked into the Set Session Var trigger? You should be able to set the asset ID or URL as the session var, and then retrieve it later using globals keywords.

(Tim) #3

That’s a great idea
thanks Nic I’ll give it a try