Click or drag to resize

SessionGoToReturnUrl Method

Redirection to ReturnUrl

Namespace:  SOWIWeb.Helper
Assembly:  SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static ActionResult GoToReturnUrl(
	Controller pController,
	string pControllerName = "Home",
	string pActionName = "Index"
)

Parameters

pController
Type: Controller
Controller object (using for method IsLocalUrl(String))
pControllerName (Optional)
Type: SystemString
Default controller name Home
pActionName (Optional)
Type: SystemString
Default action name Index

Return Value

Type: ActionResult

[Missing <returns> documentation for "M:SOWIWeb.Helper.Session.GoToReturnUrl(System.Web.Mvc.Controller,System.String,System.String)"]

Remarks
If parameter pReturnUrl not a local url then direction to parameter (pControllerName and pActionName) gives e.g. /Home/Index/
See Also