Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

Zend Framework: Zend_Controller_Plugin_SessionExpire Component Proposal

Proposed Component Name Zend_Controller_Plugin_SessionExpire
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Controller_Plugin_SessionExpire
Proposers Justin Hendrickson
Zend Liaison TBD
Revision 1.0 - 17 January 2011: Initial Draft. (wiki revision: 2)

Table of Contents

1. Overview

Zend_Controller_Plugin_SessionExpire is a Zend_Controller plugin that allows for customized expiration of sessions.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will forward requests to a specified action if the session has expired.
  • This component will not modify the session.gc_maxlifetime or session.cookie_lifetime.
  • This component will include a Zend_Application resource class.

4. Dependencies on Other Framework Components

  • Zend_Controller_Plugin_Abstract
  • Zend_Date
  • Zend_Session_Namespace

5. Theory of Operation

This component takes a Zend_Config or an array for configuration. The expired session module/controller/action and expiration timeout can be configured.

A Zend_Application resource class is also available which includes the ability to set the stack index to register the plugin at.

6. Milestones / Tasks

  • Milestone 1: design notes will be published here
  • Milestone 2: Working prototype checked into the incubator supporting use cases #1, #2, ...
  • Milestone 3: Working prototype checked into the incubator supporting use cases #3 and #4.
  • Milestone 4: Unit tests exist, work, and are checked into SVN.
  • Milestone 5: Initial documentation exists.

If a milestone is already done, begin the description with "[DONE]", like this:

  • Milestone #: [DONE] Unit tests ...

7. Class Index

  • Zend_Application_Resource_SessionExpire
  • Zend_Controller_Plugin_SessionExpire

8. Use Cases

UC-01

... (see good use cases book)

9. Class Skeletons

]]></ac:plain-text-body></ac:macro>

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.