Welcome Guest, Not a member yet? Register   Sign In
Controller, view question...
#4

[eluser]Aken[/eluser]
[quote author="mrh" date="1343696489"]Aken,

Thanks for the description. I'll need to go through it carefully so as not to misunderstand... But I'm not mixing login and display content....[/quote]

Yes you are - in the submit() method example you gave, you're loading views after validating a user log in.

As I said in my example, I just redirect the user to the appropriate URL, whether that means sending them to login page because they're not logged in, or sending them back to a "portal" page upon successful login.


Messages In This Thread
Controller, view question... - by El Forum - 07-30-2012, 04:32 PM
Controller, view question... - by El Forum - 07-30-2012, 05:44 PM
Controller, view question... - by El Forum - 07-30-2012, 06:01 PM
Controller, view question... - by El Forum - 07-30-2012, 07:01 PM
Controller, view question... - by El Forum - 07-30-2012, 07:05 PM
Controller, view question... - by El Forum - 07-30-2012, 08:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB