You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' Session = 'ccap3qvs3q303v4teu6q45nu40'' at line 1
INSERT login SET Login = '2010-07-29 08:07:32', UserID = , Session = 'ccap3qvs3q303v4teu6q45nu40'