Welcome Guest, Not a member yet? Register   Sign In
adding custom session data to a DB question
#1

[eluser]alebenson[/eluser]
hi there!

trying to understand things here

I have my session libray lodead with a db for validation

if i add a 'custom data'...
i.e.:
Code:
$this->session->set_userdata('USUARIO', 'pepe');
that info is store into the DB too?....
i guess not because there is not such field to store userdata (correct me if im wrong please)

so i have stored the USUARIO just in my cookie to know who is logged

what if someone edit the cookie and change the USUARIO to anotherone that is valid and logged?
it will start browsing with other account¿?¿?

so i have to enable the encryption and that will not happend


im just thinking this because i have never handle cookies and session.. i dont understand to much yet

thanks for the help.


Messages In This Thread
adding custom session data to a DB question - by El Forum - 01-20-2008, 07:43 PM
adding custom session data to a DB question - by El Forum - 01-21-2008, 01:18 AM
adding custom session data to a DB question - by El Forum - 01-21-2008, 07:59 AM
adding custom session data to a DB question - by El Forum - 01-21-2008, 08:11 AM
adding custom session data to a DB question - by El Forum - 02-02-2008, 11:37 AM
adding custom session data to a DB question - by El Forum - 02-02-2008, 01:09 PM
adding custom session data to a DB question - by El Forum - 02-02-2008, 01:20 PM
adding custom session data to a DB question - by El Forum - 02-03-2008, 05:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB