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

[eluser]dianikol85[/eluser]
Hi guys! A quick question.

Is the use of session table in database better practice than without using the table?
#2

[eluser]LuckyFella73[/eluser]
Yes.

That way your cookie only contains the session id and all
session values are only in your database. Don't forget to set
an encryption_key in config.php - Should be 32 characters long.
#3

[eluser]dianikol85[/eluser]
Thanks LuckyFella73. I will do it that way.




Theme © iAndrew 2016 - Forum software by © MyBB