6.0.0-beta1
7/5/25

[#8701] accessing backend.php causes session to be destroyed
Summary accessing backend.php causes session to be destroyed
Queue Klutz
Queue Version FRAMEWORK_3
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester mrubinsk (at) horde (dot) org
Created 11/12/2009 (5714 days ago)
Due
Updated 11/13/2009 (5713 days ago)
Assigned
Resolved 11/13/2009 (5713 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/13/2009 02:32:47 PM Michael Rubinsky Comment #4
Taken from Marcus Ryan
State ⇒ Resolved
Reply to this comment
Fixed in the cli framework library.
11/13/2009 02:31:36 PM CVS Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Only destroy the session if we are actually running via the cli. Bug: 
8482 and also resolves Bug: 8701

http://git.horde.org/diff.php/framework/Cli/lib/Horde/Cli.php?rt=horde-git&r1=4c1ef7437017c2c9aee53eecb0dc3dea03ab3b97&r2=778778570869506ccec9470e15ba9f79c06912d0
11/13/2009 02:28:42 PM CVS Commit Comment #2 Reply to this comment
Changes have been made in CVS for this ticket:

Only destroy the session if we are actually running via the cli.
Also fixes Bug: 8701
Bug: 8482
http://cvs.horde.org/diff.php/framework/CLI/Attic/CLI.php?rt=horde&r1=1.42.6.27&r2=1.42.6.28&ty=u
11/12/2009 01:51:30 AM Michael Rubinsky Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Assigned to Michael Rubinsky
Assigned to Marcus Ryan
Queue ⇒ Klutz
Summary ⇒ accessing backend.php causes session to be destroyed
Type ⇒ Bug
State ⇒ Assigned
Reply to this comment
The fix for Bug: 8482 causes the session to be destroyed onshutdown 
anytime a CLI object is instantiated.  This prevents the CLI class 
from being instantiated in any page that loads in a browser session.

The backend.php file needs to be split into two files now, one that is 
used exclusively from the CLI, and one that is used from with a horde 
browser session.

Saved Queries