Welcome Guest, Not a member yet? Register   Sign In
authentication
#2

(This post was last modified: 04-16-2020, 06:04 AM by Leo.)

Hi, you probably shouldn't set it to the header view. These types of "check if logged in" functions are best set somewhere along the top of the method or even in controller __construct function. You should looking for something like "simple login" made with php on github for examples. Doesn't matter if its Codeigniter - as long as YOU can understand the code.

Aaaand if you want to go beyond simple session logins - you may read up on logging in with JSON Web tokens.
You can see things I made with codeigniter here: itart.pro its not overly impressive as I have very little time to learn.
Reply


Messages In This Thread
authentication - by joseCarlos - 04-16-2020, 04:04 AM
RE: authentication - by Leo - 04-16-2020, 06:00 AM
RE: authentication - by joseCarlos - 04-16-2020, 06:26 AM
RE: authentication - by PHS - 04-16-2020, 10:46 AM
RE: authentication - by joseCarlos - 04-16-2020, 11:01 AM
RE: authentication - by Leo - 04-16-2020, 01:37 PM
RE: authentication - by joseCarlos - 04-16-2020, 02:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB