mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
remove session storage file removing feature for package gsession
This commit is contained in:
@ -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())
|
||||
|
||||
Reference in New Issue
Block a user