Photo Organizer

This is the bug tracker for Photo Organizer.
Tasklist

FS#111 - Use PHP's builtin session support

Attached to Project: Photo Organizer
Opened by Solomon Peachy (pizza) - Thursday, 09 November 2006, 13:07 GMT
Last edited by Solomon Peachy (pizza) - Monday, 13 November 2006, 19:37 GMT
Task Type Feature Request
Category Backend / Core
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version Stable
Due in Version 2.34
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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.

This task depends upon

Closed by  Solomon Peachy (pizza)
Wednesday, 20 December 2006, 15:25 GMT
Reason for closing:  Implemented
Additional comments about closing:  -devel will become -stable for v2.34, so this is complete.
Comment by Solomon Peachy (pizza) - Thursday, 09 November 2006, 13:08 GMT
This depends on the session code being properly centralized, which is ongoing.
Comment by Solomon Peachy (pizza) - Thursday, 30 November 2006, 15:03 GMT
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.
Comment by Solomon Peachy (pizza) - Thursday, 30 November 2006, 15:35 GMT
Eliminated 'shared' entirely, and all old references to session_id & shared.
Comment by Solomon Peachy (pizza) - Friday, 01 December 2006, 05:20 GMT
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..
Comment by Solomon Peachy (pizza) - Thursday, 14 December 2006, 17:08 GMT
periodic auth/pref refreshes are now performed properly.

Loading...