how to get privious page url with paramete on error page

Posted by Sushant under ASP.NET on 4/30/2013 | Points: 10 | Views : 1028 | Status : [Member] | Replies : 2
Hi
on error no 404(page not found), i am redirecting to one error page, on that error page i want to get previous page url with parameters.I am using Request.UrlReferrer.ToString(); this giving null value reference please help how can i get previous page url on error page with parameters


thanks in advance

Sushat


Responses

Posted by: Sushant on: 4/30/2013 [Member] Starter | Points: 25

Up
0
Down
@jitendrrasoft09
You forgot mentioning reference Link

Sushat

Sushant, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sushant on: 5/1/2013 [Member] Starter | Points: 25

Up
0
Down
@jitendrrasoft09
dear
Request.ServerVariables("HTTP_REFERER");
giving error because ServerVariables is property but used as method
giving this type of error



Sushat

Sushant, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response