NealR
NealR

Reputation: 10709

Classic ASP - mimic Back browser button

What is the best way to have a button mimic the "Back" browser button?

Upvotes: 1

Views: 2288

Answers (2)

David Starkey
David Starkey

Reputation: 1840

<a href="<%=Request.ServerVariables("HTTP_REFERER")%>">Back</a>

Upvotes: 3

DragonZero
DragonZero

Reputation: 845

Using the browser side javascript call history.back.

window.history.back()

Upvotes: 3

Related Questions