lua: local access_token = ngx.var.cookie_SGAccessToken if access_token then ngx.header["Set-Cookie"] = "SGAccessToken="..access_token.."; path=/;Max-Age=3000" end nginx add_header Set-Cookie "gid=$http_gid"; $cookie_gid
lua set get cookie
猜你喜欢
转载自hugoren.iteye.com/blog/2213821
今日推荐
周排行