<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiro_y</author_name>
  <author_url>https://blog.hatena.ne.jp/hiro_y/</author_url>
  <blog_title>hiroyのブログ</blog_title>
  <blog_url>https://hiroy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>karinto</anon>
  </categories>
  <description>Rails 2からデフォルトになってるCookieStoreなセッションいいなーと思ったのでkarinto_session2とか試しに作ってみた。どうするか未定。レンタルサーバーでPHPを使うときって、ストレージを考えるとセッションが使いづらい。DBに保存してもいいけど管理面倒だし。そう考えると、クライアント側のCookieに保存するのは便利。Cookieを扱えない携帯電話とかは無視する方向で（そんなもんブラウザが悪い）。 &lt;?php class karinto_session2 { const default_secret_key = 'karinto_session_secret_key'…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiroy.hatenadiary.jp%2Fentry%2F20090202%2F1233501592&quot; title=&quot;CookieStoreなセッションの試み - hiroyのブログ&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>2009-02-02 00:19:52</published>
  <title>CookieStoreなセッションの試み</title>
  <type>rich</type>
  <url>https://hiroy.hatenadiary.jp/entry/20090202/1233501592</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
