Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Provide default $_SESSION array superglobal proxy storage adapter #3404

Merged
merged 6 commits into from Jan 11, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -13,6 +13,15 @@ DD Mmm YYYY

### UPDATES IN 2.1.0

#### Backwards Compatibility Break: Session Storage
The default session storage object has changed to an array adapter; this
is a minimal break in compatibility. Most developers are not working
directly with the storage object, but rather a Container, therefore switching
out the default will not change anything for those developers.
For those who are using it directly:
* Register the old SessionStorage object explicitly, or
* Do not utilize object notation for accessing members of the Storage object.

Please see CHANGELOG.md.

### SYSTEM REQUIREMENTS
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Session/AbstractManager.php
Expand Up @@ -45,7 +45,7 @@ abstract class AbstractManager implements Manager
* Default storage class to use when no storage provided
* @var string
*/
protected $defaultStorageClass = 'Zend\Session\Storage\SessionStorage';
protected $defaultStorageClass = 'Zend\Session\Storage\SessionArrayStorage';

/**
* @var SaveHandler
Expand Down