php - Which table moodle session time out stored to? -


i know default session time out in moodle 2 hours . knowing session time out:

site administration > server > session handling> timeout 

i need know in table in moodle time out getting stored?

moodle version: 2.9.1

all moodle site-wide configuration stored in 1 of 2 tables.

if name of configuration option displayed 'pluginname | settingname' (in small letters under human-readable name), stored in [mdl_]config_plugins, in record "plugin = [pluginname]" , "name = [settingname]".

if name of configuration option displayed 'setting name' (without '|' symbol), stored in [mdl_]config, in record "name = [settingname]".

so, in case, stored in [mdl_]config, "name = 'sessiontimeout'".

you should use "get_config($pluginname, [$settingname])" function retrieve settings , "set_config($settingname, $value, [$pluginname])" function set settings. if wanting change setting in database, need make sure purge caches when so, these settings cached (set_config, if used, automatically updates cache you).


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -