Is there a "proper" way for Roundcube plugins to be accessing/writing to session data? I was assuming that $_SESSION would be okay, but it seems that if you are putting data in $_SESSION before the authenticate hook it will be killed by $RCMAIL->kill_session(); on line 76 of index.php.
Having debugged it through xdebug, it seems as if the session data is being killed by rc.
Here is what I am seeing:
session to redirect to url of login service to establish authentication credentials
$_SESSION['phpCAS'] set
so session is authenticated so startup hook sets $startup['action'] = 'login'
$RCMAIL->task=='mail') to true and executes $RCMAIL->kill_session(); on line 76 of index.php
Is there a way of saving and restoring phpCAS so that when authenticate hook is called it will exist in $_SESSION?
List info: http://lists.roundcube.net/dev/