1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-06 01:30:20 +00:00

simple the session init

This commit is contained in:
astaxie
2014-11-04 19:08:06 +08:00
parent 76522d43af
commit 15242d89ce
3 changed files with 0 additions and 16 deletions

View File

@ -383,8 +383,6 @@ func initBeforeHttpRun() {
`"gclifetime":` + strconv.FormatInt(SessionGCMaxLifetime, 10) + `,` +
`"providerConfig":"` + filepath.ToSlash(SessionSavePath) + `",` +
`"secure":` + strconv.FormatBool(EnableHttpTLS) + `,` +
`"sessionIDHashFunc":"` + SessionHashFunc + `",` +
`"sessionIDHashKey":"` + SessionHashKey + `",` +
`"enableSetCookie":` + strconv.FormatBool(SessionAutoSetCookie) + `,` +
`"domain":"` + SessionDomain + `",` +
`"cookieLifeTime":` + strconv.Itoa(SessionCookieLifeTime) + `}`