Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group