CMS module for Phprojekt
FS#160 - Double login.
Attached to Project:
CMS module for Phprojekt
Opened by Mario A. Valdez-Ramirez (mvaldez) - Monday, 07 February 2005, 14:28 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Tuesday, 10 May 2005, 07:28 GMT
Opened by Mario A. Valdez-Ramirez (mvaldez) - Monday, 07 February 2005, 14:28 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Tuesday, 10 May 2005, 07:28 GMT
|
DetailsWe have two reports of users who have to login twice (one for Phprojekt and another for the CMS). One reported the problem since the security patch of Phprojekt (released by December 2004). The other report is when using the Compact Theme (by Mark Coudriet), but it is unknown the version or patch level of Phprojekt.
This bug has not been verified. |
This task depends upon
Finally replicated.
If session.auto_start is disabled, the double-login problem arises.
It can be fixed using a .htaccess file with the following content:
<IfModule mod_php4.c>
php_value session.auto_start 1
</IfModule>
But this is only for Apache with PHP as SAPI module.
Our other solution is to remove all calls to session_start function in all PHP scripts. After all, the session_start is now being called from lib code of Phprojekt always.
Closed with the deletion of all session_start calls.