タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

railsとsessionに関するsea_mountainのブックマーク (2)

  • kinopyo blog - Learning through Writing

    I was watching The Last Dance, Michael Jordan’s Netflix documentary, last year when I returned to work from four-month-long paternity leave. It was a great show and brought back all of the joys I had when watching Chicago Bulls in the 90s. And it still got me to think till today, what if my engineering team were a sports team. Give this idea a shot. For an engineer in an IT company, you don’t play

  • pylori*style wiki - RailsでWikiクローンを作る11

    認証の適用 session HTTP はもともとステートレスな(状態を持たない)プロトコルです。なので、 例えば今どんなユーザでログインしているかという情報を保持するには、一連 のセッションを識別して管理する仕組みが必要になります。セッション管理の 方法はいろいろありますが、RailsCookie をベースにしたセッション管理 機構を標準で装備しています。 実際に Rails でセッションの機構を使う場合は、Cookie を意識する必要は全 くありません。コントローラから参照できる session というハッシュのよう な属性があり、任意のキーで任意のオブジェクト(一部制限あり)を session に格納しておくことができます。そしてsessionの内容は複数のアクションに またがって参照することができます。 既に、似たようなものとして flash について説明していますが、flas

  • 1