You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let session = Session(secret: "Session")
application.router.all(middleware: session)
but Use Session Kitura-Session-Kuery lots of warnings and errors
application.database.pool.getConnection { (connection, error) in
if let connection = connection {
let kueryStore = KueryStore(connection: connection)
let session = Session(secret: "Session", cookie: [.maxAge(11400)], store: kueryStore)
application.router.all(middleware: session)
}
}
error XXX : HMAC doesn't match expected HMAC in cookie decoding
warning XXX : RouterResponse send(data:) invoked after end() for http://192.168.1.100:8080/
warning XXX : RouterResponse end() invoked more than once for http://192.168.1.100:8080/
The text was updated successfully, but these errors were encountered:
macOS 10.15.6
Xcode 11.6
Swift 5.2.4
Use
Session InMemory
works very well.but Use
Session Kitura-Session-Kuery
lots of warnings and errorsThe text was updated successfully, but these errors were encountered: