Photo Organizer

  • Status Closed
  • Percent Complete
  • Task Type Feature Request
  • Category Backend / Core
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version Stable
  • Due in Version 2.34
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Photo Organizer
Opened by pizza - 2006-11-09
Last edited by pizza - 2006-11-13

FS#111 - Use PHP's builtin session support

The builtin session stuff, especially where shared logins are enabled, is rather kludgy.

I'd much rather use PHP's builtin session support, and eliminate PO's cobbled-together one-session-per-user nonsense.

Closed by  pizza
2006-12-20 15:25
Reason for closing:  Implemented
Additional comments about closing:  -devel will become -stable for v2.34, so this is complete.
pizza commented on 2006-11-09 13:08

This depends on the session code being properly centralized, which is ongoing.

pizza commented on 2006-11-30 15:03

The session centralization is complete (2.33-rc)

-devel now uses PHP sessions exclusively; no more po-specific cookies.

There are three regressions:

* Restart of the server may wipe session information (Not much we can do about this..)
* The "shared=off" option no longer works (I intend to remove it)
* Otherwise-valid sessions aren't checked against the database to ensure the user still exists or has appropriate permissions.

pizza commented on 2006-11-30 15:35

Eliminated 'shared' entirely, and all old references to session_id & shared.

pizza commented on 2006-12-01 05:20

Migrated all preferences into the global $po_options, which is kept in the session state now.

Not all preference users (especially import-related) use the new paradigm yet..

pizza commented on 2006-12-14 17:08

periodic auth/pref refreshes are now performed properly.


Available keyboard shortcuts


Task Details

Task Editing