function deleteSessionVariable (req, key) {
  logger.info('Deleting session variable', {
    session_variable_name: key
  })
  if (SESSION_ENCRYPTION_KEY) {
    deleteValueOnCookie(req, key, SESSION_COOKIE_NAME_1)
  }
  if (SESSION_ENCRYPTION_KEY_2) {
    deleteValueOnCookie(req, key, SESSION_COOKIE_NAME_2)
  }
}
/**
 * Deletes session[key] for all valid sessions, based on existence of encryption key,
 * and the existence of relevant cookie on the request
 *
 * @param {Request} req
 * @param {string} key
 */
Deletes session[key] for all valid sessions, based on existence of encryption key,
and the existence of relevant cookie on the request

@param {Request} req
@param {string} key
Deletes session [ key ] for all valid sessions based on existence of encryption key and the existence of relevant cookie on the request @param { Request } req @param { string } key
function deleteSessionVariable (req, key) {
  logger.info('Deleting session variable', {
    session_variable_name: key
  })
  if (SESSION_ENCRYPTION_KEY) {
    deleteValueOnCookie(req, key, SESSION_COOKIE_NAME_1)
  }
  if (SESSION_ENCRYPTION_KEY_2) {
    deleteValueOnCookie(req, key, SESSION_COOKIE_NAME_2)
  }
}
function deleteSessionVariable ( req , key ) { logger . info ( 'Deleting session variable' , { session_variable_name : key } ) if ( SESSION_ENCRYPTION_KEY ) { deleteValueOnCookie ( req , key , SESSION_COOKIE_NAME_1 ) } if ( SESSION_ENCRYPTION_KEY_2 ) { deleteValueOnCookie ( req , key , SESSION_COOKIE_NAME_2 ) } }
Deletes session[key] for all valid sessions, based on existence of encryption key,
 and the existence of relevant cookie on the request
Deletes session [ key ] for all valid sessions based on existence of encryption key and the existence of relevant cookie on the request