User reloads inert script...

From: "Christian Marschalek" <cm(at)chello(dot)at>
To: "[PHP] PostgreSQL" <pgsql-php(at)postgresql(dot)org>
Subject: User reloads inert script...
Date: 2001-05-10 00:20:14
Message-ID: 000401c0d8e6$fe3d93e0$0200a8c0@server
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Hey there:)

What would you do?

Situation: you have a script doing some HTML formular data processing,
some selects and inserts in a transaction and some html output.

When the script is cancled on the client side. By normal PHP will cancel
the script it self (which can be prevented). Now hopefully the
transaction will be rolled back on PostgreSQLs side. Everything fine...

But what If the user reloads the page? Then the whole process will be
done twice... How would you prevent that?

Tia! Chris

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Christian Marschalek 2001-05-10 00:34:24 Variable question...
Previous Message Mitch Vincent 2001-05-09 23:35:28 Re: RE: Sessions without cookies