Is there a way to get or save the last page visited? Example, if I'm on a list page with a new link that loads a page with a form. If the user cancels, you will return to the previous page (List page).
thank
Well, in web forms you should use: Request.UrlReferrer
http://msdn.microsoft.com/en-us/library/system.web.httprequest.urlreferrer.aspx
Therefore, I assume that you can also use this in MVC, accessible through the HttpContext RequestContext property, available by the controller.
Source: https://habr.com/ru/post/1730948/More articles:asp.net mvc: checkbox onchange not working - javascript-eventsMonoTouch String Comparison - stringclothing database design diagram - database-designWhat data should never be included in a session? - asp.netСессия ASP.NET и хранение объектов, использующих COM-взаимодействие - asp.netHow to fix Unix startup code - unixWebView displays a black screen - androidОжидание завершения любого из этих BackgroundWorker - multithreadingHTML в Chrome - htmlHow to make an asynchronous Hive call in Java? - javaAll Articles