Moodle in English: what is really in moodledata session folder ? | Moodle.org (2024)

what is really in moodledata session folder ?

  • ◀︎ Hi Can we create trainer list in front is using courses
  • Avi video format not supported in moodle 3.4 ▶︎

This discussion has been locked so you can no longer reply to it.

Moodle in English: what is really in moodledata session folder ? | Moodle.org (1)

what is really in moodledata session folder ?

by REMI PICARD (substitute) -

Number of replies: 8

hi,

i was doing my firlst annual backup and the folder session of moodledata took a really long time !

what does it contain ?

the official documentation said 'nothing' whereas the older doc i found, almost said something.

https://docs.moodle.org/19/en/Moodledata_directory#Sessions_folder

"Keeps session information" !

what is the aim of all this files in dession folder ? if i deleted them, what will happen ?

Is the content of this files is requiert to display the "all log" of users , or not ?

Thank you for your help and maybe a link to another helpfull documentation of that session folder.

Average of ratings: -

Permalink Reply

Moodle in English: what is really in moodledata session folder ? | Moodle.org (2)

In reply to REMI PICARD (substitute)

Re: what is really in moodledata session folder ?

by Howard Miller -

Moodle in English: what is really in moodledata session folder ? | Moodle.org (3) Moodle in English: what is really in moodledata session folder ? | Moodle.org (4) Moodle in English: what is really in moodledata session folder ? | Moodle.org (5) Moodle in English: what is really in moodledata session folder ? | Moodle.org (6) Moodle in English: what is really in moodledata session folder ? | Moodle.org (7)

By default PHP stores 'session' information in files. Moodle redirects them to this location. Session information is, strictly speaking, stuff that is loaded to PHP's magic $_SESSION variable. This is all sorts of things. Significantly, the user information that confirms that you are logged in (and lots of other things). If you delete that information everybody gets logged out. You definitely don't need to back it up.

Moodle in English: what is really in moodledata session folder ? | Moodle.org (8)

In reply to Howard Miller

Re: what is really in moodledata session folder ?

by REMI PICARD (substitute) -

hi,

thank you for the reply.

ok it is jsut the php session backup thing $_session ...i know that part.

when i put down the site under maintenance mode, moodle should clean this folder, what is the use of collect & keep them after an maintenance mode...

moreover, i guess each file is not "linked" to user moodle item, so when i delete an account, the session file remains there whereas it should not...

mine folder have 133000 files in this folder (200 users in 2years), so i will delete them at the best time.

The documentation of 3.x should be updated about each folder description, role, importance..etc.

have a good day !

Average of ratings: -

Permalink Show parent Reply

Moodle in English: what is really in moodledata session folder ? | Moodle.org (9)

In reply to REMI PICARD (substitute)

Re: what is really in moodledata session folder ?

by REMI PICARD (substitute) -

once i delete, i re-login myself, i check one page (user list)
after that, there is already 13 files in sessions folder whereas i'm the only one logged !

very strange behaviour of session files...maybe there is cron session but i'm wandering what are this quantity of file.

edited :

1min after my message, still the only one logged, there is now 92 files in session folder...🙄

Average of ratings: -

Permalink Show parent Reply

Moodle in English: what is really in moodledata session folder ? | Moodle.org (10)

In reply to REMI PICARD (substitute)

Re: what is really in moodledata session folder ?

by Howard Miller -

Moodle in English: what is really in moodledata session folder ? | Moodle.org (11) Moodle in English: what is really in moodledata session folder ? | Moodle.org (12) Moodle in English: what is really in moodledata session folder ? | Moodle.org (13) Moodle in English: what is really in moodledata session folder ? | Moodle.org (14) Moodle in English: what is really in moodledata session folder ? | Moodle.org (15)

Does it matter? You don't need to full understand the mechanism of PHP sessions to use Moodle. You just need to know that this data is not critical. As long as you are in maintenance mode, you can safely delete it.

Average of ratings: -

Permalink Show parent Reply

Moodle in English: what is really in moodledata session folder ? | Moodle.org (16)

In reply to REMI PICARD (substitute)

Re: what is really in moodledata session folder ?

by Howard Miller -

Moodle in English: what is really in moodledata session folder ? | Moodle.org (17) Moodle in English: what is really in moodledata session folder ? | Moodle.org (18) Moodle in English: what is really in moodledata session folder ? | Moodle.org (19) Moodle in English: what is really in moodledata session folder ? | Moodle.org (20) Moodle in English: what is really in moodledata session folder ? | Moodle.org (21)

"when i put down the site under maintenance mode, moodle should clean this folder"

Really?

The documentation is a Wiki, so please feel free to make updates when you discover new information that may help others.

Average of ratings: -

Permalink Show parent Reply

Moodle in English: what is really in moodledata session folder ? | Moodle.org (22)

In reply to REMI PICARD (substitute)

Re: what is really in moodledata session folder ?

by Ron Peters -

The moodledata directory is the location of files that are uploaded or created by the Moodle interface. Since it is a directory, it can have a different name and location than the default name of moodledata. It contains Cache, sessions, temp, upgrade logs, etc.

Average of ratings: -

Permalink Show parent Reply

Moodle in English: what is really in moodledata session folder ? | Moodle.org (23)

In reply to Ron Peters

Re: what is really in moodledata session folder ?

by REMI PICARD (substitute) -

hi,

yeah i knwo what is moodledata folder.

but i just would like more infos of each role of the subfolder.

As i said, the previous documentation almost began to explain them one by one what was a pretty good idea (for admin, user like me):

https://docs.moodle.org/19/en/Moodledata_directory

but the new documentation contains less infos, even nothing of the subfolders !

http://docs.moodle.org/en/Moodledata_directory

at least for this one, i'd liek to know :

- what happend if i clean it or not backup it at all
- does it contains sensible info (maybe the session subfolder can be hacked to re-use login/session...? i don't know....)
- does the size of the content is very expensive of not...what is the average size
- should one be empty after a sucess update or other event....

By example, my point, last week i performed a full moodle backup. So i noticed the session subfolder took a very very very long time to be backuped. I looked into it and discovered more than 130k files in only one folder (without sub architecture such as a/b/c/d/...like the filedir subfolder). i never saw a 133k files content in one folder since a very long time.... pretty gorgeous for system file structure....

Best regards

Average of ratings: -

Permalink Show parent Reply

Moodle in English: what is really in moodledata session folder ? | Moodle.org (24)

In reply to REMI PICARD (substitute)

Re: what is really in moodledata session folder ?

by Visvanath Ratnaweera -

Moodle in English: what is really in moodledata session folder ? | Moodle.org (25) Moodle in English: what is really in moodledata session folder ? | Moodle.org (26)

The moodledata/ structure evolves slowly. See What folders in /moodledata are actually important to backup? But moodledata/sessions/ was never a compulsory part of site backups. In fact, it is better not to backup the sessions.

Average of ratings: -

Permalink Show parent Reply

  • ◀︎ Hi Can we create trainer list in front is using courses
  • Avi video format not supported in moodle 3.4 ▶︎
Moodle in English: what is really in moodledata session folder ? | Moodle.org (2024)
Top Articles
Configuring VLANs
Credit unions
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
Things To Do In Atlanta Tomorrow Night
Non Sequitur
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Cvs Sport Physicals
Mercedes W204 Belt Diagram
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
Latest Posts
Article information

Author: Aracelis Kilback

Last Updated:

Views: 6271

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Aracelis Kilback

Birthday: 1994-11-22

Address: Apt. 895 30151 Green Plain, Lake Mariela, RI 98141

Phone: +5992291857476

Job: Legal Officer

Hobby: LARPing, role-playing games, Slacklining, Reading, Inline skating, Brazilian jiu-jitsu, Dance

Introduction: My name is Aracelis Kilback, I am a nice, gentle, agreeable, joyous, attractive, combative, gifted person who loves writing and wants to share my knowledge and understanding with you.