How to get previous page url.

Total Post:13

Points:91

 2609  View(s)
Ratings:
Rate this:
Hi all,
I want to redirect on the previous page. so i want to get previous page path give the right solution of its.

  1. Re: How to get previous page url.

    hi vikas,

    we get the previous page path by using this
    Request.UrlReferrer

    It give the previous page url, if you want to redirect page to the previous page as
     Response.redirect(Request.UrlReferrer.ToString());

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.