我試圖通過lua腳本從Nginx層中的HTTP請求中讀取cookie。但它總是返回一個空值。我不確定我在這裏錯過了什麼。以下是我的代碼片段 local ck = require "resty.cookie"
local field, err = ck:get("jwt-token")
「jwt-token」是cookie名稱,並出現在「/」路徑中。
我在我的字典此某些關鍵: public class KKey
{
public string Name { get; set; }
public Guid Guid { get; set; }
}
Dictionary<KKey, string> myDictionary = new Dictionary<KKey, string>();
的問題是,每次我生成新的G