Zend Framework Application Progress
Hold on Cowboy
This blog post is pretty old. Be careful with the information you find in here. It's likely dead, dying, or wildly inaccurate.
Today I learned from Zend Framework.
Redirecting visitors to their intended URI after login
LoginForm.php
Then after you complete authentication, send them to the referring URI
Credits: http://stackoverflow.com/questions/1249274/redirect-to-previous-page-in-zend-framework
Throwing an error message
This one is easy. You want to throw an error message with some meaning.
Saving data in Zend_Session
You want to save some data in a session variable so you can access it other places in application. So in the Bootstrap.php
file you would place
To set the variable you would use
To retrieve this fun filled variable.