Welcome Guest, Not a member yet? Register   Sign In
code duplication advice
#9

[eluser]jwindhorst[/eluser]
rootman

Unless I'm missing something those variables might better serve your purpose if you stored them in the session. Personally I usually store the entire User object in the session. *yes I know many of you will disagree with storing objects in sessions -- I did say it was a personal preference*.

Hope that helps, If I missed something about your situation feel free to clarify.


Messages In This Thread
code duplication advice - by El Forum - 03-24-2009, 08:39 PM
code duplication advice - by El Forum - 03-24-2009, 08:53 PM
code duplication advice - by El Forum - 03-24-2009, 09:24 PM
code duplication advice - by El Forum - 03-26-2009, 03:07 AM
code duplication advice - by El Forum - 03-26-2009, 05:11 AM
code duplication advice - by El Forum - 03-26-2009, 12:26 PM
code duplication advice - by El Forum - 03-26-2009, 06:37 PM
code duplication advice - by El Forum - 09-30-2009, 02:31 PM
code duplication advice - by El Forum - 09-30-2009, 02:44 PM
code duplication advice - by El Forum - 09-30-2009, 02:49 PM
code duplication advice - by El Forum - 09-30-2009, 02:59 PM
code duplication advice - by El Forum - 09-30-2009, 03:34 PM
code duplication advice - by El Forum - 01-10-2010, 06:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB