user11135076
user11135076

Reputation:

Check on page load if the page was Redirected using Response.Redirect or not

I want to know whether or not the client got to the page he is now (for example "sign_up.aspx") using Response.Redirect or not. is it possible?

Upvotes: 0

Views: 108

Answers (1)

Matt
Matt

Reputation: 26981

You could just add a URL parameter in the redirect, then parse that on the client using JavaScript.

e.g sign_up.aspx?source=from

Upvotes: 3

Related Questions