<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moro</author_name>
  <author_url>https://blog.hatena.ne.jp/moro/</author_url>
  <blog_title>moroの日記</blog_title>
  <blog_url>https://moro.hatenadiary.org/</blog_url>
  <categories>
    <anon>rails</anon>
  </categories>
  <description>Rails 2.0はセッションはCookieに入れる、というのを読んで*1Cookie-sessionなんじゃらほい、と思ったのでちょっとソースを見てみました。「ふつう」セッションに入れるようなちょっとしたデータは4K制限のあるCookieでも十分のはずだよねぇ、ということでセッションにいれる情報をMarshalしてCookieに入れちゃいましょう、というのがこの方式のポイントです。 で、Cookieに入れるっていうとユーザが自由自在にいじれるわけで、信用していいんだっけ?というのが気になったわけです。見てみた結果はまぁ大丈夫そう。データに突っ込んだ内容とそのdigestの両方をCookieに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoro.hatenadiary.org%2Fentry%2F20071209%2F1197197163&quot; title=&quot; Rails 2.0のセッション話 - moroの日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-12-09 19:46:03</published>
  <title> Rails 2.0のセッション話</title>
  <type>rich</type>
  <url>https://moro.hatenadiary.org/entry/20071209/1197197163</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
