File based sessions in Moodle 2

File based sessions in Moodle 2

de către Alastair Hole-
Număr de răspunsuri: 7

We have used file based sessions historically for performance reasons. We are migrating to 2.2 at the moment and I would like to review this situation. I was concerned to read a code comment:

// legacy limited file based storage - some features and auth plugins will not work, sorry

Can anyone offer any information on which features and auth plugins will not work? Might we be forced to move to database sessions?

Sorry if this info is out there already but I haven't found anything yet.

Cheers,

Alastair

Media aprecierilor: -
Ca răspuns la Alastair Hole

Re: File based sessions in Moodle 2

de către Alastair Hole-

Anyone?

Cheers

Ca răspuns la Alastair Hole

Re: File based sessions in Moodle 2

de către Iñaki Arenaza-
Fotografia lui Core developers Fotografia lui Documentation writers Fotografia lui Particularly helpful Moodlers Fotografia lui Peer reviewers Fotografia lui Plugin developers
I have no idea, but maybe you could ask Petr Skoda, the author of the code.

Saludos.
Iñaki.
Ca răspuns la Iñaki Arenaza

Re: File based sessions in Moodle 2

de către Alastair Hole-

Thanks, do you know the best way to contact Petr?

Cheers

Ca răspuns la Alastair Hole

Re: File based sessions in Moodle 2

de către Nitin Parmar-

Petr's profile can be found at https://moodle.org/user/view.php?id=12863&course=5

Moodle message?

Ca răspuns la Nitin Parmar

Re: File based sessions in Moodle 2

de către Alastair Hole-

I had tried to add Petr as a contact, I'm not sure what else I need to do, apparently "Petr Škoda only accepts messages from their contacts."...

Ca răspuns la Alastair Hole

Re: File based sessions in Moodle 2

de către Matteo Scaramuccia-
Fotografia lui Core developers Fotografia lui Peer reviewers Fotografia lui Plugin developers

Hi Alastair,
here is what I suppose to be the hidden reasons: http://tracker.moodle.org/browse/MDL-14992?focusedCommentId=66566&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-66566.

Here you can find when the comment has been added: https://github.com/moodle/moodle/commit/0a2092a307ff6d72a58ace098d4d612d2c47810d#L2L11.

How did I find it?

$ git log --pretty=oneline -S'some features and auth plugins will not work'
0a2092a307ff6d72a58ace098d4d612d2c47810d MDL-14992 towards better db sessions

BTW, I'm using file-based sessions even in Moodle 2.x.

HTH,
Matteo

Media aprecierilor:Useful (2)
Ca răspuns la Matteo Scaramuccia

Re: File based sessions in Moodle 2

de către Matteo Scaramuccia-
Fotografia lui Core developers Fotografia lui Peer reviewers Fotografia lui Plugin developers

Hi All,
just for the record, in http://tracker.moodle.org/browse/MDL-31501?focusedCommentId=157143&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-157143 (and following comments) there are more thoughts about legacy sessions: accounting, dropping, expiring, locking, SSO timing out, transactions.

Matteo

Media aprecierilor:Useful (1)