From: "Barksdale, Ray" <[EMAIL PROTECTED]> > This needs to stay on the list. > > Assuming you did create your table as a MyISAM table > which I think forces atomic updates (implicit commits), > that shouldn't be a problem and it is writing something. > > I've only used this thing once so I'm no expert but it does > work unchanged after several years. My code resembles yours > except the last thing done is an explicit untie as follows:
Ok, I have solved it. The only thing I needed to do was to change from undef %session to untie %session. The program used was exactly the program I have sent on the list. I have just defined $dbh, and nothing more. I don't know why it works with untie() but not with undef. The Apache::Session POD says: As shown in this example, you should undef or untie your session hash as soon as you are done with it. This will free up any locks associated with your process. So it should also work with undef, but it is OK with untie. Thank you all. Teddy