1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 02:50:49 +00:00
This commit is contained in:
astaxie 2014-10-09 18:47:22 +08:00
parent a760e46f98
commit 8af0475251

View File

@ -378,7 +378,7 @@ func initBeforeHttpRun() {
if sessionConfig == "" {
sessionConfig = `{"cookieName":"` + SessionName + `",` +
`"gclifetime":` + strconv.FormatInt(SessionGCMaxLifetime, 10) + `,` +
`"providerConfig":"` + SessionSavePath + `",` +
`"providerConfig":"` + filepath.ToSlash(SessionSavePath) + `",` +
`"secure":` + strconv.FormatBool(EnableHttpTLS) + `,` +
`"sessionIDHashFunc":"` + SessionHashFunc + `",` +
`"sessionIDHashKey":"` + SessionHashKey + `",` +