remove session storage file removing feature for package gsession

This commit is contained in:
John Guo
2021-03-11 21:21:47 +08:00
parent 58362ad143
commit 6376b8aaa6
2 changed files with 4 additions and 43 deletions

View File

@ -8,7 +8,6 @@ import (
func main() {
s := g.Server()
s.SetSessionCookieMaxAge(0)
s.Group("/", func(group *ghttp.RouterGroup) {
group.GET("/set", func(r *ghttp.Request) {
r.Session.Set("time", gtime.Timestamp())