Welcome Guest, Not a member yet? Register   Sign In
Avoid using other libraries in own library
#5

(This post was last modified: 08-04-2016, 05:43 AM by Call-Me-Captain.)

Thanks for your answer!

(08-04-2016, 05:20 AM)PaulD Wrote: Your login page does not need to check if the user is logged in or not. You do not need to check if the user is logged in before logging them in.
Well, yes, I kind of do, since I do not want logged in users to be able to access the login form. So if I do not check if they are logged in, and they visit the login form page by URL, the only way I see to not show them the form is to check if they are already logged in.

Quote:Finally, not using CI libraries and helpers within your libraries makes no sense to me, and multiple calls to the the same library function is perfectly common and not ugly at all.
Hm, well, I guess I'll just do that then.
Reply


Messages In This Thread
RE: Avoid using other libraries in own library - by Call-Me-Captain - 08-04-2016, 05:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB