6.0.0-beta1
7/29/25

[#2267] failover mode for preferences
Summary failover mode for preferences
Queue Horde Base
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners
Requester liamr (at) umich (dot) edu
Created 07/13/2005 (7321 days ago)
Due
Updated 11/23/2006 (6823 days ago)
Assigned 10/24/2005 (7218 days ago)
Resolved 11/23/2006 (6823 days ago)
Milestone
Patch No

History
11/23/2006 05:04:24 PM Chuck Hagenbuch Comment #3
Summary ⇒ failover mode for preferences
State ⇒ Resolved
Reply to this comment
I'm going to reject this for sessions; as Jan said it's done for prefs 
so I'm resolving the ticket. I see a number of problems with falling 
back to local sessions:



- The user will be confused by the notice - they don't know/care what 
the session handler is (I know, just don't issue the notice, this 
isn't the only thing).



- People use db-backed sessions for a reason - usually with clusters, 
where file-based sessions would result in random logouts as the user 
eventually hits a different webserver. I don't think that'd be an 
improvement.
03/28/2006 01:56:14 PM Jan Schneider Taken from mdjukic
 
03/28/2006 01:55:59 PM Jan Schneider Comment #2
State ⇒ Accepted
Reply to this comment
This has been implemented for the preferences system.
10/24/2005 02:16:24 PM Jan Schneider Assigned to mdjukic
State ⇒ Assigned
 
07/14/2005 08:48:12 AM Jan Schneider State ⇒ Accepted
 
07/13/2005 06:34:09 PM liamr (at) umich (dot) edu Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ failover mode for preference and sessions
Queue ⇒ Horde Base
State ⇒ New
Reply to this comment
It would be cool if you could tell the session handler to fall back to 
the default file based session handler, and preference drivers to fall 
back to "none" or "php sessions" if connections to custom drivers fail.



Say you're using a DB server for prefs, and it becomes unavailable.   
Rather than say "There was a problem contacting the DB server", and 
preventing  it fails back to built-in php methods and says something 
like "There was a problem contacting the preferences database.  You 
will be using default prefereces for the duration of this session".



Similarly, if you're using a SQL based session, if it can't connect to 
the sessionhandler, rather than preventing the user from using the 
application, how about throwing up a notice saying that it's using the 
default session handler, and then continuing?


Saved Queries