I have a website in VB/asp.net 4 and a client may be on a page that says “contact an engineer” and it brings you to a contact form. After filling out the form, it says:
Your message has been sent. Thank you for contacting USS Vision. A member of the engineering team at USS Vision will respond to you at the earliest convenience.
I want to add a hyperlink saying “Return to the page you came from” and have them click it and go back to that page. Is this possible, and if so, how would I go about doing it? Thanks for any help anybody can offer!
Maybe
document.referrerorwindow.historycan help you.UPDATE:
Based on comments to this answer I’m also suggesting to retrieve HttpRequest.UrlReferrer
when user comes and save it in Session, then use it anywhere you need.