Welcome Guest, Not a member yet? Register   Sign In
Sessions WTF
#2

[eluser]chobo[/eluser]
I would just check what this line returns and go from there. It seems your query(?) always returns true.

Code:
if($this->video_model->report($videoID)):

Just a quick update, I noticed you have this line.

Code:
echo 'test:'.$this->session->set_userdata('reported_'.$videoID);

I don't use codeigniters session library, but I think you need to use this to retrieve session data

Code:
echo 'test:'.$this->session->userdata('reported_'.$videoID);


Messages In This Thread
Sessions WTF - by El Forum - 08-07-2007, 12:10 PM
Sessions WTF - by El Forum - 08-07-2007, 02:44 PM
Sessions WTF - by El Forum - 08-07-2007, 02:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB