File based sessions in Moodle 2

File based sessions in Moodle 2

ved Alastair Hole -
Antal besvarelser: 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

Gennemsnitsbedømmelse: -
I svar til Alastair Hole

Re: File based sessions in Moodle 2

ved Alastair Hole -

Anyone?

Cheers

I svar til Alastair Hole

Re: File based sessions in Moodle 2

ved Iñaki Arenaza -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
I have no idea, but maybe you could ask Petr Skoda, the author of the code.

Saludos.
Iñaki.
I svar til Iñaki Arenaza

Re: File based sessions in Moodle 2

ved Alastair Hole -

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

Cheers

I svar til Alastair Hole

Re: File based sessions in Moodle 2

ved Nitin Parmar -

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

Moodle message?

I svar til Nitin Parmar

Re: File based sessions in Moodle 2

ved 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."...

I svar til Alastair Hole

Re: File based sessions in Moodle 2

ved Matteo Scaramuccia -
Billede af Core developers Billede af Peer reviewers Billede af 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

Gennemsnitsbedømmelse:Useful (2)
I svar til Matteo Scaramuccia

Re: File based sessions in Moodle 2

ved Matteo Scaramuccia -
Billede af Core developers Billede af Peer reviewers Billede af 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

Gennemsnitsbedømmelse:Useful (1)