[eluser]NachoF[/eluser]
[quote author="OverZealous.com" date="1241600018"]I'm pretty sure DataMapper only works with numerical ids. It is designed specifically to work with automatically generated ids (e.g.: SERIAL or AUTONUM)
DataMapper inserts if the object has an empty id, and updates if it is not empty. There is no way to insert a row with a specific id, and there is no way to update a row with an empty id (0 or '', for example).
In your case, use autonums for the id, and store the session id in a different column.[/quote]
Ok, that worked.. thanks.