I am using mod_rewrite and map Subfolders to my Postnuke installation.
http://webpage/aaa/bbb -> index.php?module=abc&func=cde¶m1=aaa¶m2=bbb
Until now this worked then intranet mode was enabled. In the new release of Zikula i realized that the following code is commented out in the SessionUtil File:
Code
// domain and path settings for session cookie
// if (pnConfigGetVar('intranet') == false) {
// Cookie path
ini_set('session.cookie_path', $path);
// if (pnConfigGetVar('intranet') == false) {
// Cookie path
ini_set('session.cookie_path', $path);
The effect is that the cookie_path is always set to $path ($path = pnGetBaseURI());
When i now access a URL like http://webpage/aaa/bbb the cookie would be set to /aaa/bbb. Users get a new cookie for this folder and automatically become logged out.
Can this be fixed or is there a good reason for this behavior?
Best regards
Nicolas
edited by: nicolas79, Jun 22, 2008 - 08:11 AM
