Forums / Developer / Referer URL

Referer URL

Author Message

Pablo C. Vergara Castro

Wednesday 23 February 2005 8:34:59 am

Hi to all.

Any way to know what is the url of the previous page?

The problem I have is that I try to make the "return" tipical link but I don't know how to do that using EZPublish.

Greetings (and thanks in advance).

Eivind Marienborg

Wednesday 23 February 2005 9:30:01 am

Actually, you can do this with simple hmtl:

<a href="javascript:history.go(-1)">Return</a>

This brings the user one page back in the browsers history.