TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,38 @@
.. include:: /Includes.rst.txt
.. _deprecation-70316:
===============================================
Deprecation: #70316 - Frontend basket with recs
===============================================
See :issue:`70316`
Description
===========
The TypoScriptFrontendController has a basic mechanism to automatically register session data if the GET/POST
variable :code:`recs` is given. This has been deprecated. This additionally obsoletes the configuration
variable :php:`$GLOBALS['TYPO3_CONF_VARS']['FE']['maxSessionDataSize']` which has been deprecated, too.
Impact
======
Handling baskets or other session data in :code:`recs` throws a deprecation warning.
Affected Installations
======================
Extensions with a legacy that rely on this automatic basket (`tt_products` for example) should be adapted. Searching extensions
for string :php:`recs` should reveal affected parts.
Migration
=========
Use the session functions :php:`setKey()` and :php:`getKey()` of :php:`$GLOBALS['TSFE']->fe_user` directly to store session data
like basket information from within the extension.
.. index:: Frontend, PHP-API