User reloads inert script... - Mailing list pgsql-php

From Christian Marschalek
Subject User reloads inert script...
Date
Msg-id 000401c0d8e6$fe3d93e0$0200a8c0@server
Whole thread Raw
Responses Re: User reloads inert script...
List 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



pgsql-php by date:

Previous
From: Roberto Mello
Date:
Subject: Re: PHP calling PHP?
Next
From: Grant
Date:
Subject: Re: User reloads inert script...