Saturday, February 4, 2012, 10:22:55 PM, Peter wrote: > I think you'll have a lot better luck with the $_SESSION variable... I agree. But if you want the last visited page in a new session, for instance days later, you better use a cookie. Hans www.softflow.co.uk