Snippets Category

Get the previously visited URL

How to get the previously visited page and redirect to that page after an Edit, Create or Delete action in ASP.NET.

Date Created: 06/22/2023 23:24:03
Date Updated: 11/16/2023 23:32:42
Posted by David Bellerose

There may be a time when you would want to return to the previously visited page when performing action on data. One simple method is to use a helper or extension class. To maintain separation of conc...