ConLite

  • Status geschlossen
  • Prozent erledigt
    100%
  • Aufgabentyp Enhancement
  • Kategorie Backend
  • zuständig niemand
  • Betriebssystem
  • Schweregrad mittel
  • Dringlichkeit gering
  • betrifft Version Contenido 4.8.16 CL beta
  • fällig in Version ConLite 2.0.0
  • fällig am unbestimmt
  • Stimmen
  • versteckt
gehört zu Projekt: ConLite
angelegt von Ortwin Pinke - 27.04.2012
zuletzt bearbeitet von Ortwin Pinke - 01.06.2012

FS#35 - Inuse - modul locked for same user after backend timeout

After timeout of BE access and relogin with same username, last called module is shown as inuse for this user. Change behaviour to remove self inuse-entries for actuell user when user is logging in again.
Also check this for other areas.

geschlossen von  Ortwin Pinke
01.06.2012 16:22
Grund für das Schließen:  Fixed
Kommentar zum Schließen:  

Reopen task if error occurs again.

Anonymer Reporter schrieb am 30.04.2012 13:06

Delete only locks for non-existing sessions, because one can be logged in multiple times (tabs, windows, computers).
Delete entries from <prefix>_inuse where <prefix>_inuse.session is not in <prefix>_phplib_active_sessions.sid

Anonymer Reporter schrieb am 30.05.2012 13:23

Added a call for cleanupSessions() just after include_once('./includes/startup.php'); both in /contenido/index.php and /contenido/main.php

Project Manager
Ortwin Pinke schrieb am 31.05.2012 08:09

Reopened task!

Using function cleanupSessions() isn't a good idea. Fixing it this way we will add multiple unneeded db querys to "every" call of backend area. We just need it only once if we (re-)start a (new) session, so maybe a better place for a cleanup is the session-management.

Please check this out and remove function calls in main files.

Anonymer Reporter schrieb am 31.05.2012 10:09

Moved the call to cleanupSessions() in the /contenido/index.php file into the "if (!$sess→is_registered("client")) {" section, which only gets executed on logging in onto the backend, removed the call from the /contenido/main.php file.

Lade...

Verfügbare Tastenkürzel

Aufgabenliste

Aufgabendetails

Aufgabenbearbeitung