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 8741973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:24:55+00:00 2026-06-13T11:24:55+00:00

Bear with me as I’m working on a project in an older cake 1.3

  • 0

Bear with me as I’m working on a project in an older cake 1.3 install. In my controller, I have this: $this->flash('Thank you for contacting us. One of our managers will contact you soon.', '/m', 5000);. Upon submitting a form, my controller properly redirects the user, but it 1)doesn’t pause for 5 seconds 2)doesn’t flash my message. Do I actually have to add some call to flash() in my view? Do I need to specify that the controller use the Session helper? I’m unsure what it is that I’m doing wrong.

UPDATE Tried <?php echo $this->Session->flash(); ?> in my view, which shows my success message upon submitting the form…and then it never redirects. So. Yeah.

  • 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-06-13T11:24:56+00:00Added an answer on June 13, 2026 at 11:24 am

    flash is

    flash( $message, $url, $pause = 1, $layout = 'flash' )
    

    Also note that when debug is on, redirect does not auto redirect, you actually have to click the link. when debug is at 0, it will auto redirect after the time is up.

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

Sidebar

Related Questions

Bear with me on this one. I have an iphone application. It is a
Bear with me if this is unclear; I have trouble fully wrapping my head
Bear with me, this one is hard to explain. I hope some hero out
Bear with me on this one! Right. Clicking on a link button on a
Please bear with me as I've been thrown into the middle of this project
I have a CSV file like this: bear,1,2 fish,3,4 cats,1,5 mice,3,3 I want to
Bear with me, this one's not very easy to explain... I'm trying to configure
Bear in mind, I have researched this and have found several articles, however, they
(Bear with me, I promise this gets to shebang and windows.) I have about
Please bear with me as I am a cakephp noob. I have this app

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.