Feature #55831
Different scenarios for session settings
Status: | New | Start date: | 2014-02-10 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No |
Description
What i'd really love is something like this to easily offer some
[ ] keep me logged in
login form functionality
TYPO3: Flow: session: # this is the default - doesn't break backwards compatibility inactivityTimeout: foo scenarios: myScenario1: # the user wants to be remembered # set timeout to one year inactivityTimeout: 31536000 myScenario2: # the user logged in from an internet café # set timeout to 30 minutes inactivityTimeout: 1800
and in the controller
public function authenticateAction() { ... if ($keepMeLoggedIn) { $someObjectWhereYouWouldSetThis->setScenario('myScenario1'); } ... }
If the scenarios would then inherit from the default, you have everything you need to build your own configuration sets.
Related issues