ConLite

  • Status Closed
  • Percent Complete
    100%
  • Task Type Enhancement
  • Category Backend
  • Assigned To No-one
  • Operating System
  • Severity Medium
  • Priority Very Low
  • Reported Version Contenido 4.8.16 CL beta
  • Due in Version ConLite 2.0.0
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: ConLite
Opened by Ortwin Pinke - 27.04.2012
Last edited by 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.

Closed by  Ortwin Pinke
01.06.2012 16:22
Reason for closing:  Fixed
Additional comments about closing:  

Reopen task if error occurs again.

Anonymous Submitter commented on 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

Anonymous Submitter commented on 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 commented on 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.

Anonymous Submitter commented on 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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing