From 8af0475251d323b49b9f9989eabe8cf4ee762025 Mon Sep 17 00:00:00 2001 From: astaxie Date: Thu, 9 Oct 2014 18:47:22 +0800 Subject: [PATCH] fix #833 --- beego.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beego.go b/beego.go index a58df00a..8824798f 100644 --- a/beego.go +++ b/beego.go @@ -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 + `",` +