<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toshiyuki_saito</author_name>
  <author_url>https://blog.hatena.ne.jp/toshiyuki_saito/</author_url>
  <blog_title>個人事業主のつぶやき</blog_title>
  <blog_url>https://toshiyuki-saito.hatenadiary.org/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>CakePHP</anon>
  </categories>
  <description>以前書いたCakePHPの携帯対応で、 言ってたことを忘れ、それで小一時間悩んでしまった。 なので、忘れないように書いておく。 どうも、私はセッションとかその辺に疎いようである。 携帯はクッキーを使えないと思ってかかった方が良いので、 ログイン情報を保持しなければならないシステムなどを構築する場合、 セッションIDを引き回してやる必要がある。 通常、セッションIDは/^[0-9a-z]{32}$/の文字列なのだが、 どうも、ディストリビュージョンかapacheのバージョンか、何かの要因で、 セッションIDの長さが変わるらしい。 ちなみに私が試した、 OpenSUSE,Ubuntuは32文字 C…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoshiyuki-saito.hatenadiary.org%2Fentry%2F20080130%2F1201621363&quot; title=&quot;クッキー・セッション関連の覚え書き - 個人事業主のつぶやき&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>2008-01-30 00:42:43</published>
  <title>クッキー・セッション関連の覚え書き</title>
  <type>rich</type>
  <url>https://toshiyuki-saito.hatenadiary.org/entry/20080130/1201621363</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
