就比如存储
value如下
\x0E\xFF\x81\x04\x01\x02\xFF\x82\x00\x01\x10\x01\x10\x00\x00\x04\xFF\x82\x00\x00
如何解码,变成可读性强的具体字符串
you can decode blob bytes of session by using
"github.com/astaxie/beego/session"
var kv map[interface{}]interface{}
v, err = session.DecodeGob([]byte(s["sessiondata"].([]uint8)))
if in your db sessiondata filed name is session_data replace "sessiondata" with "session_data"
...
Most helpful comment
you can decode blob bytes of session by using
"github.com/astaxie/beego/session"
if in your db sessiondata filed name is session_data replace "sessiondata" with "session_data"