sessions in moodledata?

sessions in moodledata?

by Mosa W -
Number of replies: 2
Hey there,

I actually just have a simple question... You know the sessions directory in the moodledata directory? It takes forever to backup, copy, etc. Are the sessions in there necessary to keep when (for example) upgrading or moving the site? Or can I just delete them regularly? I can't seem to find any info on this anywhere.

Thanks!
mosa
Average of ratings: -
In reply to Mosa W

Re: sessions in moodledata?

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Hi Mosa,
the sessions folder holds small data files for each for each student that is currently logged in. If you delete it, everyone who is currently logged in, will suddenly find themselves logged out. Usually this is not what you want.

On the other hand, you don't need to back it up.

In short: don't delete it, but don't back it up smile

all the best
Gordon