I don't have tried Apache::Session and Postgres. I forward your message to the mod_perl list, where Apache::Session is supported Gerald > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Florian Dorrer > Sent: Thursday, June 01, 2000 5:37 PM > To: [EMAIL PROTECTED] > Subject: Embperl Session ID problem with %udat and postgres > > > Hi, > > my configuration looks like: > > Suse Linux 6.3 > Apache_1.3.12 > Apache-Session-1.04 > mod_perl-1.22 > HTML-embperl-1_3b3 > postgres-6.5.3 > DBD-Pg-0.93 > > On an EPL-Site I post data into %udat, when I try to acess the data on > another EPL-Site I get the error-message: > > Error in Perl code: DBD::Pg::st execute failed: ERROR: Cannont insert a > duplicate key into a unique index > > The database field "Session_id" has a unique index. If I remove the > index from that field, EmbPerl puts for each %udat call an entry into > the database with equal session_ids. > > It looks like there is never an update to the db_entry, but always > an insert. > > The cookie is set and received sucessfully (says the logfile). > > Can anybody help me?! > > > Florian Dorrer > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925151 WWW: http://www.ecos.de Fax: +49 6133 925152 -------------------------------------------------------------