Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id AFCF7475AA1 for ; Sat, 9 Nov 2002 02:04:21 -0500 (EST) Received: from hotmail.com (f102.law12.hotmail.com [64.4.19.102]) by postgresql.org (Postfix) with ESMTP id 46E4B474E61 for ; Sat, 9 Nov 2002 02:04:20 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 8 Nov 2002 23:04:26 -0800 Received: from 128.123.37.105 by lw12fd.law12.hotmail.msn.com with HTTP; Sat, 09 Nov 2002 07:04:26 GMT X-Originating-IP: [128.123.37.105] From: "Zhidian Du" To: pgsql-php@postgresql.org Subject: Transaction including two web page + timer Date: Sat, 09 Nov 2002 00:04:26 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 09 Nov 2002 07:04:26.0460 (UTC) FILETIME=[3D77E9C0:01C287BE] X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/39 X-Sequence-Number: 1621 Dear All: I have a question of, when users input some contents in the second page, then the contents in first and second pages are inserted into tables; Otherwise, rollback. I want to use transction to handle it. But when users input the contents in first page, how do I know users have left( My program will roolback ) or want to continue input sone contents in the second page (comit)? Usig timer, for example? or some other better idea. Thanks. Zhidian Du _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail