How to use multiple mvcs together |
Another approach is to use session data.
Before you go to the stores controller save the "returnURI". PHP Code: $_SESSION['returnURI'] = 'controller/method'; Then when stores is done PHP Code: redirect($this->session->returnURI); You would probably want to add some code to check the return of $this->session->returnURI before using it. You would also want to clear the session data at some point. Probably in the controller you are returning to. |
Messages In This Thread |
How to use multiple mvcs together - by muuucho - 09-25-2017, 02:01 AM
RE: How to use multiple mvcs together - by InsiteFX - 09-25-2017, 03:41 AM
RE: How to use multiple mvcs together - by muuucho - 09-25-2017, 11:59 PM
RE: How to use multiple mvcs together - by InsiteFX - 09-26-2017, 03:09 AM
RE: How to use multiple mvcs together - by muuucho - 09-26-2017, 05:23 AM
RE: How to use multiple mvcs together - by dave friend - 09-26-2017, 10:20 AM
RE: How to use multiple mvcs together - by muuucho - 09-26-2017, 10:30 AM
|