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\TYPO3

Uses the session mechanism of TYPO3 to store and retrieve the data.

To access session data in TypoScript, you have to

Version added

1.0.0

TypoScript path

plugin.Tx_Formhandler.session copy to clipboard

Example code

# general configuration on global level for all forms
plugin.Tx_Formhandler.settings {

  #do not use native php session so we can access the generated uids from Logger\DB
  session.class = Session\TYPO3
}

plugin.Tx_Formhandler.settings.predef.contact {

  #needed for generating a fixed id
  uniqueFormID = TEXT
  uniqueFormID.value = contactform

}

subject = COA
subject.10 = TEXT
subject.10.data = TSFE:fe_user|sesData|formhandler|contactform|inserted_uid

.clearSessionsOlderThan.value

Value for the threshold used to remove sessions of old forms which weren't finished.

Data type

Integer - cObj

Default value

1

Version added

1.3.0

.clearSessionsOlderThan.unit

Unit for the threshold used to remove sessions of old forms which weren't finished.
The unit can be seconds, minutes, hours and days.

Data type

String | cObj

Default value

hours

Version added

1.3.0

.disableCookies

If set, Formhandler sets no cookies and transfers the session ID via GET/POST.

Data type

Integer - cObj

Version added

2.0.0