Whenever you receive "Unknown Column ..." type of errors, indicates that you are trying to store the wrong type in your table column. Most likely, you could be trying to store the session id in a table column with an integer type.
I would recommend looking over you table and make sure that you have the correct data type for each column and also make sure you are storing the correct information for that column.