るりまサーチ (Ruby 3.1)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.064秒)
トップページ > クエリ:IO[x] > クエリ:-[x] > バージョン:3.1[x] > クエリ:new_session[x] > 種類:特異メソッド[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

クラス

検索結果

CGI::Session.new(request, option = {}) -> CGI::Session (9940.0)

セッションオブジェクトを新しく作成し返します。

セッションオブジェクトを新しく作成し返します。

@param request CGI のインスタンスを指定します。

@param option ハッシュを指定することができます。

以下の文字列が option のキーとして認識されます。

: session_key
クッキーと <FORM type=hidden> の name として使われます。
(default: "_session_id")

: session_id
セッション ID として使われます。
デフォルトのデータベースである FileStore を用いる場合,
値は英数字だけからなる文字列で無けれ...