Re: A progress page with PHP + PostgreSQL - Mailing list pgsql-php

From Thom Dyson
Subject Re: A progress page with PHP + PostgreSQL
Date
Msg-id OFE884ECFA.C2C1260B-ON88256DFD.006FB5FA-88256DFD.006FFAD8@sybex.com
Whole thread Raw
In response to A progress page with PHP + PostgreSQL  (Sai Hertz And Control Systems <sank89@sancharnet.in>)
Responses Re: A progress page with PHP + PostgreSQL
List pgsql-php
I've never done this, but my first guess would be to send the user to a
temp page after step 1.  This temp page would have some animated gif so the
user thinks something is happening (step 3).  After a fixed time period
(equal to the loop time on the gif), the temp page auto-redirects to a new
page that shows the final results (step 4)

Thom Dyson
Director of Information Services
Sybex, Inc.

On 12/15/2003 11:30:06 AM, Sai Hertz And Control Systems
<sank89@sancharnet.in> wrote:
> Dear all,
>
> Permit me to gain some of your most valuable knowledge ...........
>
> In one of our application a process takes  time and as the work is in
> progress we want to show our customer a progress bar
> or processing page
> It is some thing like this
>
> 1. Customer Clicks on button EXECUTE
> 2. The pgsql  function is invoked
> Now normally after step 2  a  success page will return only after the
> postgresql function finishes
> but we would like as
> 3. Show progress of executed function
> 4. On Sucessfull completion Show  Success page
> else error page
>
> Would be  greatefull to all  for  any tiny clue.
>
>
> Regards,
> Vishal Kashyap
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster


pgsql-php by date:

Previous
From: "Sylvain Ross"
Date:
Subject: What is wrong with pg_pconnect() ?
Next
From: "Rod K"
Date:
Subject: Re: What is wrong with pg_pconnect() ?