Does EPiServer have ready functionality for previous page? It is easy to find out the parent of a page, but what what page was the user previous at?
If I am remember correctly asp.net has some kind of support for this?
If your using an asp button:
Button.Attributes.Add("onclick","history.back(); return false");