Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 875861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:20:34+00:00 2026-05-15T11:20:34+00:00

How can i make a progress bar in cakephp? and other related question is,

  • 0

How can i make a progress bar in cakephp?

and other related question is,

lets say, for a loop, how can I send output to the browser for every iteration….. in cakephp….
I tried using setflash function, but didnt worked for me….

My main intention in trying above things, is that I want to send some output to browser for every few seconds while my function is getting executed, else I go into the problem of timout…..

Thanks…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T11:20:35+00:00Added an answer on May 15, 2026 at 11:20 am

    You can’t really do that. A returned web page is something static, you can’t change it when you sent it. In pure PHP you could send portions of the output before you have all the output, so you can have something like for($i=0;;) echo $i++; but you can’t do this in Cake because you need to render a View completely before inserting it into the layout.
    A progress bar is in (pure) HTML impossible, because as said, you can’t modify a sent HTML response.

    However, you can bring JavaScript into play: You can return a HTML page with the JS, that uses AJAX calls to query the state/percentage of an action, and then it sets the progress bar in the HTML respectively. It can do the latter (modify HTML) because JS runs in the clients’ browser after page retrieval.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Objective : Make a progress bar where users can check how much of a
I'm trying to make a progress bar show up on a form, but for
I want to make a progress bar for my terminal application that would work
We have a jQuery Progress Bar. Is there a way we can have the
How can I make it so Maven doesn't spam upload progress in the Hudson
I can make a DAO recordset in VB6/Access do anything - add data, clean
I can make Firefox not display the ugly dotted focus outlines on links with
In C# you can make a block inside of a method that is not
so that you can make your program concurrent easily in the future.
I know that I can make a setter that checks to see if a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.