Welcome Guest, Not a member yet? Register   Sign In
How to stop CI from continuing?
#6

[eluser]ray73864[/eluser]
why not something like this in say your 'index' function of the controller:

if not logged in
if not login form submitted
display the login view
else
do the login stuff and then redirect back to this function
else
display the normal view

no redirect will happen, and you can have the login view's form submit to the controllers index function


Messages In This Thread
How to stop CI from continuing? - by El Forum - 11-19-2008, 01:52 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 02:53 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 03:06 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 04:50 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 04:59 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 05:49 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 06:51 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 07:17 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 07:18 PM
How to stop CI from continuing? - by El Forum - 11-20-2008, 05:51 AM
How to stop CI from continuing? - by El Forum - 11-20-2008, 07:46 AM
How to stop CI from continuing? - by El Forum - 11-20-2008, 08:29 AM
How to stop CI from continuing? - by El Forum - 04-11-2009, 03:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB