Project

General

Profile

Actions

Task #79720

closed

Remove ses_name from tables fe_sessions and be_sessions

Added by Christian Kuhn about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2017-02-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:
Stabilization Sprint

Description

Both fe_session and be_session table currently have a combined primary key on ses_id / ses_name.

with the new session framework, ->get() should be only called using the ses_id part of the primary key, so it is probably easy (needs verify) to remove ses_name from primary key.

Apart from that, we should check why setting ses_name (along with the typo3-conf-vars global) is a necessary setting anyway, and if we maybe could hard-code that to the default strings and disallow overwriting the session cookie name altogether?

Even if ses_name is kept for whatever reason, the primary key should have a reconsideration.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #70316: Introduce Session FrameworkClosedMathias Schreiber2015-10-02

Actions
Related to TYPO3 Core - Bug #79628: Long primary index on be_session and fe_session tableClosed2017-02-04

Actions
Actions

Also available in: Atom PDF