ä¹ ãã¶ãã«node.jsã触ã£ããexpressããã¤ã®éã«ã2.xãã3.0.3rcã«ãªã£ã¦ãã¦å¾®å¦ã«æåãéãï¼ ããã¦connec[email protected]ããã¯parseCookieãç¡ããªã£ã¦ã¦æã®ã¾ã¾ã ã¨ã»ãã·ã§ã³ã®å ±æãåºæ¥ãªãï¼ ããã¦ä¸çªããã£ãã®ã¯ã»ãã·ã§ã³IDãç½²åããã¦ããã«ãé¢ãããcookieããparseCookieã§åãåºããå¤ããã®ã¾ã¾ã»ãã·ã§ã³IDã¨ãã¦ä½¿ã£ã¦ããããã«ã req.sessionIDã¨cookieããåãåºããsessionIDãå¥ã®ãã®ã«ãªã£ã¦ã㦠sessionStoreããæ£ããã»ãã·ã§ã³ãã¼ã¿ãåãåºããªãã£ããã£ã¦ãã¨ã ç½²åããã»ãã·ã§ã³IDå ¥ãã®cookieã¯connect.utils.parseSignedCookies(cookies:object, secret:string)ã§å ã«æ»ãã¾ãããã ã¨ããããã¨ã§express3.
{{#tags}}- {{label}}
{{/tags}}