1
0
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:
Gerasimos (Makis) Maropoulos
2023-09-24 17:35:49 +03:00
parent e0ac28c1bb
commit e7b40398aa
16 changed files with 198 additions and 105 deletions

View File

@@ -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