<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tagomoris</author_name>
  <author_url>https://blog.hatena.ne.jp/tagomoris/</author_url>
  <blog_title>たごもりすメモ</blog_title>
  <blog_url>https://tagomoris.hatenablog.com/</blog_url>
  <categories>
    <anon>node</anon>
  </categories>
  <description>express とか久し振りだわー 3.0.0 とか慣れないわーと思いながら書いてたらセッション管理しようとしてハマった。のでメモ。とりあえず今回はカジュアルなセッション管理なので cookie でいいや、と思って調べてたらこんなのがあった。 express cookieSession()例を見るとこんな感じで書ける、とある。 app.use(express.cookieSession({secret:'hogehoge'})); req.session = {/* obj */}; //set req.session = null; //clearおお、簡単だ、と思ってやってみたらこんなエラ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftagomoris.hatenablog.com%2Fentry%2F20121030%2F1351583289&quot; title=&quot;express 3.0 で cookieSession を使うときは cookieParser も明示的に呼べ - たごもりすメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://a0.twimg.com/profile_images/2164571031/559a478924eef097835c78247accdab3_icongen__1__normal.jpeg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-10-30 16:48:09</published>
  <title>express 3.0 で cookieSession を使うときは cookieParser も明示的に呼べ</title>
  <type>rich</type>
  <url>https://tagomoris.hatenablog.com/entry/20121030/1351583289</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
