[phpldapadmin] [ phpldapadmin-Bugs-2845904 ] session.autostart breaks 1.2.0.2
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2845904, was opened at 2009-08-28 09:26
Message generated for change (Settings changed) made by wurley
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2845904&group_id=61828
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Jasper Spaans (jsp)
Assigned to: Nobody/Anonymous (nobody)
Summary: session.autostart breaks 1.2.0.2
Initial Comment:
Hi,
I just upgraded my phpldapadmin setup from something ancient to a fresh one (1.2.0.2), and got bitten by the following:
if going to /index.php, some session variables are set up. However, after lots of detours, we get to lib/session_functions.php:89 , where the session is nuked if session.auto_start is enabled.
Unfortunately, after this, during the same request, we get to lib/common.php:180 , where the existence of the session just nuked is tested, and not found, so we are redirectd to index.php - again and again and again.
Disabling session.auto_start is a workaround.
----------------------------------------------------------------------
>Comment By: Deon George (wurley)
Date: 2009-08-28 17:00
Message:
Thanks Jasper, an easy fix:
Change line
if (ini_get('session.auto_start'))
to
if (ini_get('session.auto_start') && !
array_key_exists(app_session_id_init,$_SESSION))
in lib/session_functions.php around line 89...
Committed to GIT.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2845904&group_id=61828
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/