Welcome Guest, Not a member yet? Register   Sign In
Session value problem


This is my code to set the session value

There is no problem with point_session,point_status,contract_brand_id. But version_no sets to a value as images
$version_no contains fixed integer value....but it is set as 'images' in session....

when i display the result of version_no from session as
echo $this->session->userdata('version_no');
it shows 'images' instead of showing 1 or 2 or 3 .....(ie...$version_no)

Can any one help me to solve this issue?

Have you tried echoing $version_no right before you set it in the array. I can try and help you debug the problem.

Theme © iAndrew 2016 - Forum software by © MyBB