Project

General

Profile

Actions

Bug #19286

closed

unnecessary queries for updating session data

Added by Sebastian Mendel over 15 years ago. Updated over 5 years ago.

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

100%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

currently updating the session data is done in two steps:

- delete session data
- insert new session data

this means two queries and two times updating the index

but with only one update query, there is no need for updating the index

is there any special reason why TYPO3 uses two queries to accomplish this?

(issue imported from #M9287)


Files

class.tslib_feuserauth.php.diff (1.5 KB) class.tslib_feuserauth.php.diff Administrator Admin, 2008-09-19 13:20
class.tslib_feuserauth2.php.diff (1.54 KB) class.tslib_feuserauth2.php.diff Administrator Admin, 2008-09-19 14:55

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #63922: Correct handling of session data update in TYPO3 CMS 4.5 LTSRejected2014-12-16

Actions
Actions #1

Updated by Netresearch DTT GmbH over 15 years ago

This patch resolves the problem, as we have problems on one machine with the mysql DB. It stops sometimes between the delete and insert statement, so sometimes we have no session data on a new request.

Actions #2

Updated by Netresearch DTT GmbH over 15 years ago

corrected version, there was one line missed

Actions #3

Updated by Mr. Hudson almost 13 years ago

Patch set 1 of change I58624215b65bced7473923eb6ce1966650c02860 has been pushed to the review server.
It is available at http://review.typo3.org/2761

Actions #4

Updated by Mr. Hudson almost 13 years ago

Patch set 2 of change I58624215b65bced7473923eb6ce1966650c02860 has been pushed to the review server.
It is available at http://review.typo3.org/2761

Actions #5

Updated by Mr. Hudson almost 13 years ago

Patch set 3 of change I58624215b65bced7473923eb6ce1966650c02860 has been pushed to the review server.
It is available at http://review.typo3.org/2761

Actions #6

Updated by Mr. Hudson almost 13 years ago

Patch set 4 of change I58624215b65bced7473923eb6ce1966650c02860 has been pushed to the review server.
It is available at http://review.typo3.org/2761

Actions #7

Updated by Mr. Hudson almost 13 years ago

Patch set 5 of change I58624215b65bced7473923eb6ce1966650c02860 has been pushed to the review server.
It is available at http://review.typo3.org/2761

Actions #8

Updated by Mr. Hudson almost 13 years ago

Patch set 6 of change I58624215b65bced7473923eb6ce1966650c02860 has been pushed to the review server.
It is available at http://review.typo3.org/2761

Actions #9

Updated by Stefan Neufeind over 12 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF