Creating Confirmation Screen using Zend_Session

The example to use Zend_Session and create confirmation screen is shown in this article. You can download the source code of this article from here.

1.Create bootstrap.php and config.ini
Create the file application/bootstrap.php with the following content.

Create the file application/config.ini with the following content.
Please modify database.params.* properly.

In this article, we will use the following sql.
2.Create Model
Create the file application/models/Profiles.php with the following content.
3.Create Controller
Create the file application/constorllers/IndexController.php with the following content.
4.Create View
Create the file application/views/scripts/index/index.phtml with the following content.

Create the file application/views/scripts/index/finish.phtml with the following content.

Access the web server and check the screen flow.
I will extend this controller.


  1. Hi,

    I’m getting the error:
    Fatal error: Call to a member function getMessage() on a non-object
    on error.phtml


Leave a Reply

Your email address will not be published.