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@xxxxxxxxxxxxx> 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