Welcome Guest, Not a member yet? Register   Sign In
Database session, remember user, cookies
#5

[eluser]guidorossi[/eluser]
uhm...I think you mean how do you check that the info on the DB is the same that is at the cookie...

well, I think CI sessions make that check for you, if the info in the DB isn't the same at the cookie then the session is not valid.

To check that just try editing some session info at the database for example with phpmyadmin and then try to authenticate that session. You will realize that it can't be authenticated.


Messages In This Thread
Database session, remember user, cookies - by El Forum - 03-05-2011, 12:06 AM
Database session, remember user, cookies - by El Forum - 03-05-2011, 05:27 AM
Database session, remember user, cookies - by El Forum - 03-05-2011, 05:41 AM
Database session, remember user, cookies - by El Forum - 03-05-2011, 09:21 AM
Database session, remember user, cookies - by El Forum - 03-05-2011, 11:24 AM
Database session, remember user, cookies - by El Forum - 03-05-2011, 11:54 AM
Database session, remember user, cookies - by El Forum - 03-06-2011, 10:54 AM
Database session, remember user, cookies - by El Forum - 07-20-2011, 03:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB