Welcome Guest, Not a member yet? Register   Sign In
userdata in ci_sessions gets lost
#1

[eluser]labao[/eluser]
Hi I made this thread before and am now absolutely sure what the problem is. The userdata in the ci_sessions table is not being record for some reason. I get all the other data inserted into the table EXCEPT the userdata... when the row gets inserted, it just gives that column a blank data value. no zero, just nothing. I don't get any errors and also, the code works locally but not remotely. Sorry for making a duplicate thread, it's just that this website is my only resource at them moment and I need to get this thing work ASAP. It's for a school assignment.

Thanks,

Lorne...
#2

[eluser]labao[/eluser]
I am inputting my data values into userdata within the controller here's the code:

Code:
$vehicle=$this->input->post('vehicle');
$this ->session->set_userdata('vehicle', $vehicle);

I am thinking this is an issue that deals with the preliminary code for setting up codeigniter to work with the database and server because it does work locally. I did a search through all my files though and couldn't find a localhost parameter.
#3

[eluser]labao[/eluser]
any idea at all? I'm at my wits end here guys...
#4

[eluser]labao[/eluser]
bumping the thread...




Theme © iAndrew 2016 - Forum software by © MyBB