mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
update Blocks module
This commit is contained in:
@@ -46,6 +46,9 @@ type (
|
||||
|
||||
// Expires the duration of which the cookie must expires (created_time.Add(Expires)).
|
||||
// If you want to delete the cookie when the browser closes, set it to -1.
|
||||
// However, if you use a database storage setting this value to -1 may
|
||||
// cause you problems because of the fact that the database
|
||||
// may has its own expiration mechanism and value will be expired and removed immediately.
|
||||
//
|
||||
// 0 means no expire, (24 years)
|
||||
// -1 means when browser closes
|
||||
|
||||
Reference in New Issue
Block a user