From: | "Thom Dyson" <TDyson(at)sybex(dot)com> |
---|---|
To: | pgsql-php(at)postgresql(dot)org |
Subject: | Re: A progress page with PHP + PostgreSQL |
Date: | 2003-12-15 20:23:07 |
Message-ID: | OFE884ECFA.C2C1260B-ON88256DFD.006FB5FA-88256DFD.006FFAD8@sybex.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)sancharnet(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Rod K | 2003-12-15 21:35:33 | Re: What is wrong with pg_pconnect() ? |
Previous Message | Sylvain Ross | 2003-12-15 20:09:56 | What is wrong with pg_pconnect() ? |