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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -