cakephp2-php8/cake/tests/cases/libs
phpnut 11d295eb0c Fixes #3507 Session Security.level "high", session destroyed on media 404.
Added ability to turn off HTTP_USER_AGENT check in a Controller::beforeFilter(),
Added id() to Session helper and component to return current Session id, the component accepts a $id parameter to force setting the Session id which must be called in a Controller::beforeFilter().
Sessions id are not longer renewed if a request is from Ajax, or from requestAction();
When Security.level (1.2) or CAKE_SECURITY (1.1) is set the 'high' renewing of Session id only happens if request is 2 seconds after the last request.
Added $_Session[Config][timeout] which forces renewing Session if request are within the 2 second limit and over 10 request.
If an application is expected to make multiple request (more than 10) to the server in a single proccess, Configure::write('Security.level', 'medium'); (1.2) or $this->Session->security = 'medium'; (1.1) should be used in a beforeFilter for the specific methods.
1.2 Sessions allow using CacheEngines to store Sessions, be aware that using memory caching as the only storage of Sessions is not reliable. Further work will be done to allow using the CacheEngines with database Sessions, etc.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5982 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 01:36:20 +00:00
..
cache updating model Cache engine. 2007-11-09 08:00:59 +00:00
controller updating test cases so ALL tests group will run 2007-11-09 05:13:12 +00:00
model updating test cases so ALL tests group will run 2007-11-09 05:13:12 +00:00
view adding tests, closes #3550, closes #3513, fixes #3556 2007-11-09 01:36:34 +00:00
cache.test.php updating Acl to use Configure, adding config stack to CacheEngine, adding notices for defines to Configure, modifying bootstrap for Cache::config() updating tests for acl, auth, and cache. 2007-10-14 01:09:21 +00:00
cake_log.test.php Refactoring dispatcher. 2007-07-25 04:38:28 +00:00
class_registry.test.php Refactoring dispatcher. 2007-07-25 04:38:28 +00:00
configure.test.php Adding class listing methods to Configure class 2007-08-07 15:38:20 +00:00
debugger.test.php Refactoring dispatcher. 2007-07-25 04:38:28 +00:00
error.test.php updating error handling: messages, templates and css, updating home page messages 2007-11-04 07:03:57 +00:00
file.test.php updating file class and test 2007-10-16 09:48:59 +00:00
flay.test.php Refactoring dispatcher. 2007-07-25 04:38:28 +00:00
folder.test.php updating folder test 2007-10-21 23:37:31 +00:00
http_socket.test.php Adding fix for #2882, Sanitize::escape() fails for numbers. 2007-07-09 17:02:55 +00:00
i18n.test.php Adding tests for i18n plurals, closes #3399 2007-10-17 17:20:23 +00:00
inflector.test.php Fixes #3486, Incorrect rule in Inflector::singularize() 2007-11-06 05:12:37 +00:00
l10n.test.php Refactoring dispatcher. 2007-07-25 04:38:28 +00:00
magic_db.test.php Updated sample data / sample data extraction routine 2007-10-24 02:59:59 +00:00
object.test.php Refactoring dispatcher. 2007-07-25 04:38:28 +00:00
overloadable.test.php Refactoring dispatcher. 2007-07-25 04:38:28 +00:00
router.test.php adding named to params so the proper args get passed to the action, updated tests 2007-10-31 03:53:41 +00:00
sanitize.test.php Removing dependency on default database connection from all test cases 2007-11-04 18:05:00 +00:00
security.test.php Refactoring dispatcher. 2007-07-25 04:38:28 +00:00
session.test.php Fixes #3507 Session Security.level "high", session destroyed on media 404. 2007-11-12 01:36:20 +00:00
set.test.php Refactoring return of Set::map(); and Set::reverse(); 2007-11-11 23:49:30 +00:00
socket.test.php Initial start of Unicode support, I may move this handling of this to a unicode class. 2007-09-24 23:49:54 +00:00
string.test.php Initial start of Unicode support, I may move this handling of this to a unicode class. 2007-09-24 23:49:54 +00:00
validation.test.php Fixes #3466, Validation::url() fails for some common urls. Anything without the protocol is not a valid url so part of this ticket is invalid 2007-10-25 03:55:41 +00:00
xml.test.php Refactoring dispatcher. 2007-07-25 04:38:28 +00:00