<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>daralib</author_name>
  <author_url>https://blog.hatena.ne.jp/daralib/</author_url>
  <blog_title>だら＄ちっぷす</blog_title>
  <blog_url>https://daralib.hatenablog.com/</blog_url>
  <categories>
    <anon>node.js</anon>
  </categories>
  <description>いっぺんログインしたクライアントは２回め以降ログインせんでもいけるようにしてーと言われたので調べた （のを書いてなかったみたいなので書いとく。１年前のやつですが今んとこまだ使えてます） セッションを定義して、サーバを起動する（日本語変かもー） //CORSを許可する const cors = require('cors'); app.use(cors({ origin: true, credentials: true })); //セッション定義 const session = require('express-session'); var sess = { secret: 'keyboard…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdaralib.hatenablog.com%2Fentry%2F2021%2F02%2F08%2F182124&quot; title=&quot;node.js　セッション　ログイン状態を持続する - だら＄ちっぷす&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>2021-02-08 18:21:24</published>
  <title>node.js　セッション　ログイン状態を持続する</title>
  <type>rich</type>
  <url>https://daralib.hatenablog.com/entry/2021/02/08/182124</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
