redirectBack

redirectBack

Installation

box install redirectBack

Usage

// handlers/Main.cfc
component {
	function plainRedirect( event, rc, prc ) {
		redirectBack();
	}

	function redirectWithAdditionalParameters( event, rc, prc ) {
		redirectBack( /* takes anything setNextEvent takes */ );
	}
}

Uses the ColdBox's flash storage to store the last request. If there is no last request, redirects to "" (empty string).

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Download
1.0.4 Jan 13 2017 11:22 AM Jan 13 2017 11:22 AM Eric Peterson (elpete)
1.0.3 Nov 22 2016 03:54 PM Nov 22 2016 03:54 PM Eric Peterson (elpete)
1.0.2 Nov 22 2016 03:48 PM Nov 22 2016 03:48 PM Eric Peterson (elpete)
1.0.1 Oct 28 2016 12:05 PM Oct 28 2016 12:05 PM Eric Peterson (elpete)
1.0.0 Oct 27 2016 05:42 PM Oct 27 2016 05:42 PM Eric Peterson (elpete)
0.0.0 Oct 27 2016 05:41 PM Oct 27 2016 05:41 PM Eric Peterson (elpete)

 

No collaborators yet.
   
5.00 / 2
  • Oct 27 2016 05:41 PM
  • Jan 13 2017 11:22 AM
  • 1124
  • 0
  • 807