CMS module for Phprojekt

CMS module for Phprojekt
Tasklist

FS#160 - Double login.

Attached to Project: CMS module for Phprojekt
Opened by Mario A. Valdez-Ramirez (mvaldez) - Monday, 07 February 2005, 08:28 GMT-6
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Tuesday, 10 May 2005, 02:28 GMT-6
Task Type Bug Report
Category Backend / Core
Status Closed
Assigned To Mario A. Valdez-Ramirez (mvaldez)
Operating System All
Severity Low
Priority Immediate
Reported Version any
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

We 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

Closed by  Mario A. Valdez-Ramirez (mvaldez)
Tuesday, 10 May 2005, 02:28 GMT-6
Reason for closing:  
Comment by Mario A. Valdez-Ramirez (mvaldez) - Tuesday, 10 May 2005, 02:25 GMT-6

Finally replicated.

If session.auto_start is disabled, the double-login problem arises.



Comment by Mario A. Valdez-Ramirez (mvaldez) - Tuesday, 10 May 2005, 02:27 GMT-6


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.


Comment by Mario A. Valdez-Ramirez (mvaldez) - Tuesday, 10 May 2005, 02:28 GMT-6

Closed with the deletion of all session_start calls.

Loading...