Welcome Guest, Not a member yet? Register   Sign In
Session best practice question
#2

[eluser]Rick Jolly[/eluser]
I'd put that in the controller constructors instead of in the view. To avoid repetition, you could create an application/base controller with that code in its constructor and extend it for all pages that require a login.


Messages In This Thread
Session best practice question - by El Forum - 10-26-2007, 10:24 AM
Session best practice question - by El Forum - 10-26-2007, 11:41 AM
Session best practice question - by El Forum - 10-26-2007, 12:33 PM
Session best practice question - by El Forum - 10-26-2007, 12:46 PM
Session best practice question - by El Forum - 10-26-2007, 01:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB