On this page:
   35.85    SMART Definitions Seeding 35.87    SMART Outbound Security: Callback Script   

35.86Sessions

 

The Sessions configuration category includes the following configurable options:

  • Use In-Memory Sessions

  • Session Scavenger Interval (Millis)

  • Session Timeout (Mins)

35.86.1Property: Use In-Memory Sessions

 
Property Name Use In-Memory Sessions
Property Key
Property Type BOOLEAN
Description If enabled, any HTTP sessions created for this listener will be stored only in memory, as opposed to being persisted in the database. This may lead to a performance boost in some situations but also prevents sessions from working in some clustered configurations or surviving a restart of the system. Note that not all listeners even create sessions (e.g. FHIR endpoints do not) so this setting may have no effect.
Applies to Modules
  • App Management Tools
  • CDS-Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (R4)
  • FHIRWeb Console
  • Hybrid Providers REST Endpoint
  • Package Registry Endpoint
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
Default Value false
Example Property
module.[MODULE_ID].config.sessions.inmemory = false

35.86.2Property: Session Scavenger Interval (Millis)

 
Property Name Session Scavenger Interval (Millis)
Property Key
Property Type POSITIVE_INTEGER
Description The number of milliseconds between session scavenger passes.
Applies to Modules
  • App Management Tools
  • CDS-Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (R4)
  • FHIRWeb Console
  • Hybrid Providers REST Endpoint
  • Package Registry Endpoint
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
Default Value 60000
Example Property
module.[MODULE_ID].config.sessions.scavenger.interval.millis = 60000

35.86.3Property: Session Timeout (Mins)

 
Property Name Session Timeout (Mins)
Property Key
Property Type POSITIVE_INTEGER
Description The number of minutes that a user session can sit idle before it is eligible to expire.
Applies to Modules
  • App Management Tools
  • CDS-Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (R4)
  • FHIRWeb Console
  • Hybrid Providers REST Endpoint
  • Package Registry Endpoint
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
Default Value 30
Example Property
module.[MODULE_ID].config.sessions.timeout.mins = 30
   35.85    SMART Definitions Seeding 35.87    SMART Outbound Security: Callback Script