Welcome Guest, Not a member yet? Register   Sign In
Session Validation
#1

[eluser]Unknown[/eluser]
Greetings CI community! I have a quick question regarding session validation. I have a login page set up which seems to be working perfectly (session created if login correct, session data correctly stored in db with the call to load->library('session'), etc). My question is that although the guide states that the database is necessary to validate the session, how exactly is this validation accomplished? Could someone post a quick+dirty example for a session check on a page that requires a user be logged in/have a valid session created to access? Many thanks!




Theme © iAndrew 2016 - Forum software by © MyBB