Gerasimos (Makis) Maropoulos

Results 259 comments of Gerasimos (Makis) Maropoulos

@CyJaySong I don't see the error. The example is working. Could you please post a code snippet which reproduces the issue, based on the feature?

Hello @mblaschke, In your code example you initialize the session on each handler through: ```go app.Use(sess.Handler()) ``` Then, on your `getSession` function, it calls the `Destroy` and if `getSession` is...

You should use (`app.Use(sess.Handler())` and `sessions.Get`) or `Start` - not both. I can't re-produce the issue. I see encoded values on securecookie.Decode method: ```go SecureCookie.Encode: name = session_id_cookie, value =...

@mblaschke the code part, the securecookie's Decode is called is at: https://github.com/kataras/iris/blob/cf42f37169c43b5bc7b5911614ba51da403b38e9/context/context.go#L5314-L5318 If the decode is failed, the cookie value is set to empty string for security reasons. This may...

@mblaschke this is a working example which destroys and re-initializes the session in the same request-response lifecycle (I don't recommend it) but here you are: ```go package main import (...

@mblaschke, I found the origin of the "issue". This is happening because the `login` handler has decoded the request cookie's value already **- but this is not a problem**, the...

Hello @mblaschke, > Also I want to change cookies samesite mode from lax (for oauth login) to strict (for application). That's easy, you can do it using a middleware (for...

Hello @aadog, I have a daily working life that's why I may be slow to answer to some of the questions. I already answered to you at https://github.com/kataras/iris/issues/1869#issuecomment-1086635704, please take...

Hello @aadog, I don't know to setup Alipay or WeChat payments. Could you help us?

@aadog thanks a lot for your words! I've tried to open an alipay global account, it's still in review. I don't think I will get it, didn't find enough documentation...