title: Configure gin-gonic session using Redis in Golang
body: <p>I am using gin-gonic in Go and using Redis session feature provided in <code>github.com/gin-gonic/contrib/sessions</code> package</p>
  
  <pre><code>store, _ := sessions.NewRedisStore(10, "tcp", "localhost:6379", "", []byte("secret"))
  router.Use(sessions.Sessions("workino_session", store))
  </code></pre>
  
  <p>How do I control how long these Sessions are stored in Redis?</p>
  
  <p>Thank you.</p>