Decode binds the given "outPtr" to the value associated to the provided "key".
(key string, outPtr interface{})
| 65 | |
| 66 | // Decode binds the given "outPtr" to the value associated to the provided "key". |
| 67 | func (s *Session) Decode(key string, outPtr interface{}) error { |
| 68 | return s.provider.db.Decode(s.sid, key, outPtr) |
| 69 | } |
| 70 | |
| 71 | // when running on the session manager removes any 'old' flash messages. |
| 72 | func (s *Session) runFlashGC() { |