func (i *Instance) GetMaxSessionAge() int {
	i.RLock()
	defer i.RUnlock()

	ret := DefaultMaxSessionAge
	v := i.viper(MaxSessionAge)
	if v.IsSet(MaxSessionAge) {
		ret = v.GetInt(MaxSessionAge)
	}

	return ret
}
// GetMaxSessionAge gets the maximum age for session cookies, in seconds.
// Session cookie expiry times are refreshed every request.
GetMaxSessionAge gets the maximum age for session cookies, in seconds.
Session cookie expiry times are refreshed every request.
// GetMaxSessionAge gets the maximum age for session cookies in seconds . // Session cookie expiry times are refreshed every request .
func (i *Instance) GetMaxSessionAge() int {
	i.RLock()
	defer i.RUnlock()
	ret := DefaultMaxSessionAge
	v := i.viper(MaxSessionAge)
	if v.IsSet(MaxSessionAge) {
		ret = v.GetInt(MaxSessionAge)
	}
	return ret
}
func ( i * Instance ) GetMaxSessionAge ( ) int { i . RLock ( ) defer i . RUnlock ( ) ret := DefaultMaxSessionAge v := i . viper ( MaxSessionAge ) if v . IsSet ( MaxSessionAge ) { ret = v . GetInt ( MaxSessionAge ) } return ret }
GetMaxSessionAge gets the maximum age for session cookies, in seconds.
GetMaxSessionAge gets the maximum age for session cookies in seconds .