> I did some investigating and found that the MySQL behavior for this type > of problem is to simply report a warning and cut off the text being > entered if it exceeds the field length. The session data is becoming > invalid because in this case the Perl data structure is being > corrupted. The section of code related to this problem is in the > Apache::Session::Store::DBI module. While RaiseError is turned on, > MySQL doesn't return a "hard" error that the length of data exceeds the > field size. >
There are two DBI attributes which you can pass to the connect call, called LongTruncOk and LongReadLen, with which you can set the behaviour in case of a truncation. At the moment there is no chance to pass these attributes. So you have to patch Apache::Session::Store::MySQL. Gerald -------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122 WWW: http://www.ecos.de/ Fax: +49 6133 939-333 -------------------------------------------------------------- | | Besuchen Sie uns auf der CeBIT vom 12. - 19. März 2003 | Messe Hannover * Halle 17 * Stand F 36 | http://www.cebit.de/ | +------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]