Am 12.08.2010 18:10, schrieb Julien Cochennec:

Am 11.08.2010 20:38, schrieb Julien Cochennec:

- JSESSIONID is missing and this is not a zimbra problem

Argh! Maybe I found the problem... My symfony app handles sessions, so
I'm forced to use $session_start=false each time I make phpCAS::client
or phpCAS::proxy.
In other words there's no way for me to let phpCAS rename the session.
Do I have to make a special custom function in phpCAS where CAS is
called with the right parameter $session_start=true but whitout using
the session_id() php function, using another parameter instead, like
$_SESSION['phpCAS']['services']['zimbraserviceurl']['cookie'] ?


In the default config phpcas starts it's own session etc. If you want to use an existing sesssion just add the optional 5th paramter to the client() or proxy() call. [1] phpCAS now assumes their is an _existing_ session where it can store all the information (authentication, cookies etc.) The rename is not essential for the core functionalities. It's only required for single sign-out.

Cheers Joachim


[1] http://downloads.jasig.org/cas-clients/php/1.1.2/docs/api/group__publicInit.html#ga9926765840fa60ad4a815dc63b79dbe3


--
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to