Fixed saving sessions to the DB. Using 'xtc_db_input()' on variable '$key' broke the db-session-entry.