Bug #58957
closed
Frontend User Session by POST ['recs']['ts']
Added by Teamgeist Medien over 10 years ago.
Updated about 7 years ago.
Description
In TYPO3 6.1 it was no problem to write inside the frontend user session by having a form an posting the values to ['recs']['ts'] in a form like this:
<form method="POST">
<input id="default" type="submit" value="A" name="recs[ts][size]">
<input id="big" type="submit" value="big" name="recs[ts][size]">
<input id="bigger" type="submit" value="bigger" name="recs[ts][size]">
</form>
Since TYPO3 6.2 this does no longer work as long as there is no FE user logged in. In this case, the form is for a font resize menue that should work for all users in the frontend even if they are not logged in.
I know that the FE cookie will no longer be set as the user is not logged in, but it should be set when a user is using the form even if he is not logged in, right?
The solutions from this issue does not solve the problem for me: http://forge.typo3.org/issues/57751
Teamgeist Medien wrote:
In TYPO3 6.1 it was no problem to write inside the frontend user session by having a form an posting the values to ['recs']['ts'] in a form like this:
[...]
Since TYPO3 6.2 this does no longer work as long as there is no FE user logged in. In this case, the form is for a font resize menue that should work for all users in the frontend even if they are not logged in.
I know that the FE cookie will no longer be set as the user is not logged in, but it should be set when a user is using the form even if he is not logged in, right?
The solutions from this issue does not solve the problem for me: http://forge.typo3.org/issues/57751
After an update from 6.1 to 6.2 we encountered exactly the same issue. As a workaround we set [FE][maxSessionDataSize] to an empty value which is not recommended since it also disables a check that session data is stored only if a confirmed cookie is set.
Note: if [FE][maxSessionDataSize] is set to '0' we get the following Fatal error:
Fatal error: Interface 'Psr\Log\LoggerInterface' not found in /html/typo3/typo3_src-6.2.6/typo3/sysext/core/Classes/Log/Logger.php on line 24
- Target version changed from next-patchlevel to 7.1 (Cleanup)
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
- Status changed from New to Needs Feedback
Can you please recheck? we did quite some work with the session handling until 6.2.13
- Target version changed from 7.4 (Backend) to 7.5
- Target version deleted (
7.5)
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
- Status changed from Closed to Accepted
This issue still persists.
Try something like the following TS to confirm it. If there is already a FE-User cookie set this script will work in any case - but after removing the FE-User cookie the cookie won't get set again.
page = PAGE
page.10 = TEXT
page.10.data = TSFE:fe_user|sesData|recs|ts|testing
page.10.wrap = Current value: "|"<br />
page.20 = TEXT
page.20.value (
<form action="index.php" method="POST">
<input type="text" value="" name="recs[ts][testing]" />
<input type="submit" name="submit" value="submit" />
</form>
)
A patch is being readied.
- Status changed from Accepted to Under Review
- Status changed from Under Review to New
- Status changed from New to Rejected
This hasn't been fixed for such a long time and v9 does not even provide this functionality anymore (deprecated with v8).
Also available in: Atom
PDF