This project is no longer maintained and no further public releases are planned.

No further support will be given.

Feel free to fork the git repository.

Session

Formhandler needs to store some values in the session to be able to access them after the form has been submitted.

It is possible to control, which session mechanism Formhandler uses via TypoScript.
To access the data via TypoScript you have to use Session_TYPO3.

Version added

1.0.0

Important

The session class can only be set on a global level for all forms. It is not possible to configure a session class for a predefined form!

Example code

$this->globals = Tx_Formhandler_Globals::getInstance();
$this->globals->getSession()->get('inserted_uid');

Access the session data in PHP.

Session_PHP

Stores the data in a PHP session.

Session_TYPO3

Uses the session mechanism of TYPO3 to store and retrieve the data. To access session data in TypoScript, you have to Specify your own uniqueID for a form Use Session_TYPO3 instead of the default Sess...