HOW TO GET PREVIOUS PAGE URL.

Total Post:13

Points:91
 2394  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. Post:103

    Points:721
    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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!