0 users online. Create an account or sign in to join them.Users
[2.1.0] Error in class.session.php
A for , submitted by wisolman on 13 August 2010
Announcement
Symphony's issue tracker has been moved to Github.
Issues are displayed here for reference only and cannot be created or edited.
Browse
Closed#385: [2.1.0] Error in class.session.php
Fingers crossed this does it http://github.com/symphonycms/symphony-2/commit/080a651d5dc4b51921517725a8a82c5aea48a164
Going to close this one. Assuming it is fixed, however should it reappear post 2.1.1, please submit a new issue report and we’ll take another look.
This issue is closed.
Line 29 in class.session.php should be
if (session_id() == "") {instead of
if (session_id() != "") {This causes unwanted logouts because the session parameters are not being set. This seems to be primarily due to ‘gc_maxlifetime’ retaining the default 24 minutes (at least in my case) instead of being reset to Symphony’s two weeks.
In 2.0.8RC3 it was
if (!session_id()) {