Zend Framework: Zend_Session_ValidatorMagicString Component Proposal
| Proposed Component Name | Zend_Session_ValidatorMagicString |
|---|---|
| Developer Notes | http://framework.zend.com/wiki/display/ZFDEV/Zend_Session_ValidatorMagicString |
| Proposers | FractalizeR@yandex.ru |
| Revision | 1.0 - 13 November 2007: Initial release (wiki revision: 3) |
Table of Contents
1. Overview
Zend_Session_ValidatorMagicString is almost a copy of Zend_Session_ValidatorHttpUserAgent with an exception, that it stores a custom value in client's cookie on session creation and verifies it on every session resume
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
Nothing special requried to use this component
- This component will not save any data using Zend_Cache or the filesystem. All transient data will be saved using Zend_Session and client cookies
4. Dependencies on Other Framework Components
- Zend_Session
5. Theory of Operation
The component is instantized by executing Zend_Sesion::registerValidator(new Zend_Session_Validator_MagicString('Key', 'Value'));
6. Milestones / Tasks
The component is so simple, that it does not require any milestones
7. Class Index
- Zend_Session_ValidatorMagicString
8. Use Cases
| UC-01 | You want to validate session against custom cookie value stored at session creation |
|---|
9. Class Skeletons
ZF Home Page
Code Browser
Wiki Dashboard
It looks like this proposal may be ready for community review. If that is the case, please move it to the 'ready for review' section and announce it on the appropriate list(s).
Thanks.
,Wil