User reloads inert script...

Поиск
Список
Период
Сортировка
От Christian Marschalek
Тема User reloads inert script...
Дата
Msg-id 000401c0d8e6$fe3d93e0$0200a8c0@server
обсуждение исходный текст
Ответы Re: User reloads inert script...  (Grant <grant@conprojan.com.au>)
Список 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 по дате отправления:

Предыдущее
От: Roberto Mello
Дата:
Сообщение: Re: PHP calling PHP?
Следующее
От: Grant
Дата:
Сообщение: Re: User reloads inert script...