[QUESTION] sessions: Session `Get` method
sshaplygin opened this issue · comments
Semen Shaplygin commented
Hi, everyone!
Why are sessions method Get
return interface{} instead string?
code
Hossein Shirejoni commented
who said that all value that can be in a session is type of string?
mysession.Values["username"]="hossein" // string
mysession.Values["id"] = 10; // integer
Semen Shaplygin commented
@shirejoni thanks for your answer but it does not actual