mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
fix cookie expire equals to -1 when call UpdateExpiration
Former-commit-id: 69107db0f9be87db2057c6d261bd896c0358bc45
This commit is contained in:
@@ -58,7 +58,8 @@ type (
|
||||
|
||||
// AllowReclaim will allow to
|
||||
// Destroy and Start a session in the same request handler.
|
||||
// All it does is that it removes the cookie for both `Request` and `ResponseWriter`.
|
||||
// All it does is that it removes the cookie for both `Request` and `ResponseWriter` while `Destroy`
|
||||
// or add a new cookie to `Request` while `Start`.
|
||||
//
|
||||
// Defaults to false.
|
||||
AllowReclaim bool
|
||||
|
||||
Reference in New Issue
Block a user