Title: function shibboleth_session_active() possible bug
Last modified: August 19, 2016

---

# function shibboleth_session_active() possible bug

 *  [tsikorski](https://wordpress.org/support/users/tsikorski/)
 * (@tsikorski)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/function-shibboleth_session_active-possible-bug/)
 * In trying to get this pluging working on our test site I came across a possible
   type in the function mentioned above.
 * The function shibboleth_session_active checks the array
    $_SERVER for a couple
   of keys and uses that to determine if a session is active. In the 1.4 code the
   keys which are checked are $session_headers = array(‘Shib-Session-ID’, ‘HTTP_SHIB_IDENTITY_PROVIDER’);
 * What I got to work here was a check using the following:
 * $session_headers = array(‘Shib_Session_ID’, ‘HTTP_SHIB_IDENTITY_PROVIDER’);
 * Thought you might want to know.
 * Ted
 * [http://wordpress.org/extend/plugins/shibboleth/](http://wordpress.org/extend/plugins/shibboleth/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [fabri76](https://wordpress.org/support/users/fabri76/)
 * (@fabri76)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/function-shibboleth_session_active-possible-bug/#post-1698253)
 * hello,
    i have the same problem as you, i tried your workaround, but nothing 
   changes. can you help me, please? thank you. ciao, fabrizio
 *  Thread Starter [tsikorski](https://wordpress.org/support/users/tsikorski/)
 * (@tsikorski)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/function-shibboleth_session_active-possible-bug/#post-1698259)
 * Hi,
    I would check the version of shibboleth client that you are running. My 
   problem only occurred in an older version of the client. The shib 2.4 client 
   doesn’t have the problem I described in my earlier post. You might want to make
   sure that you are actually seeing the variables a dump of the variables via <?
   php phpinof(); ?>
 * might help to diagnose the problem.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘function shibboleth_session_active() possible bug’ is closed to new replies.

 * ![](https://ps.w.org/shibboleth/assets/icon-256x256.png?rev=3471676)
 * [Shibboleth](https://wordpress.org/plugins/shibboleth/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shibboleth/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shibboleth/)
 * [Active Topics](https://wordpress.org/support/plugin/shibboleth/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shibboleth/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shibboleth/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tsikorski](https://wordpress.org/support/users/tsikorski/)
 * Last activity: [14 years, 12 months ago](https://wordpress.org/support/topic/function-shibboleth_session_active-possible-bug/#post-1698259)
 * Status: not resolved