Avoid using other libraries in own library |
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. |
Messages In This Thread |
Avoid using other libraries in own library - by Call-Me-Captain - 08-03-2016, 10:57 AM
RE: Avoid using other libraries in own library - by cartalot - 08-03-2016, 05:17 PM
RE: Avoid using other libraries in own library - by Call-Me-Captain - 08-04-2016, 04:19 AM
RE: Avoid using other libraries in own library - by PaulD - 08-04-2016, 05:20 AM
RE: Avoid using other libraries in own library - by Call-Me-Captain - 08-04-2016, 05:38 AM
RE: Avoid using other libraries in own library - by ivantcholakov - 08-04-2016, 05:53 AM
RE: Avoid using other libraries in own library - by PaulD - 08-04-2016, 06:06 AM
RE: Avoid using other libraries in own library - by mwhitney - 08-04-2016, 06:38 AM
RE: Avoid using other libraries in own library - by Call-Me-Captain - 08-06-2016, 02:03 PM
|