Fix a bug causing to cast every session id to 0.

The 'session_id' column was an integer, but because the session id may also contain other characters, we need to alter it to an string.
I set the length of the string to 255.