System:Router:returnToReferrer

From Aspen Documentation

Returns the user to the referring page, unless the referring page contained POST data.

Since 1.0

Contents

Arguments

void returnToReferrer ()

Returns

This function does not return any values.

Notes

  • The referring page is set in the App class on startup using the $_SESSION['HTTP_REFERER'].

Examples

Example:

$this->APP->router->returnToReferrer();