Hi listers,

I have a runmode "print_all" which displays data from two tables: 1 record from the header, and couple thousands related detail records.

Before using C::A, browser displayed partial results as read from database,formatted and sent to output.

Now in C::A nothing is sent until all data is read and processed.
Browser's mouse shows it's working, but users are spoiled to see at least something before getting all.


I was thinking about creating "partial_output" runmode, which will display at least header before long journey to select thousands of records, to give users visual clue they did clicked on submit button and program is working to fetch the data.

But I want to avoid one more click on "view details" link.

Is it possible to create a redirection CGI header in "partial_output" runmode, which will print something and redirect to "print_all" runmode?

I was looking into CGI.pm: $query->redirect('http://somewhere.else/in/movie/land');
but I am not sure how it will mesh with C::A methods.


Ideas? Suggestions? Code snippets? :-)

TIA

--
Peter Masiar

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to