るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.065秒)
トップページ > クエリ:String[x] > クエリ:values[x] > クエリ:new[x] > クラス:CGI::Cookie[x]

別のキーワード

  1. string []=
  2. string slice
  3. string slice!
  4. string []
  5. string gsub!

ライブラリ

検索結果

CGI::Cookie.new(name = "", *value) -> CGI::Cookie (18132.0)

クッキーオブジェクトを作成します。

...トを一つ以上指定します。

例:
cookie1 = CGI::Cookie.new("name", "value1", "value2", ...)
cookie1 = CGI::Cookie.new({"name" => "name", "value" => "value"})
cookie1 = CGI::Cookie.new({'name' => 'name',
'value' =...
...only' => true # optional
})

cgi.out({"cookie" => [cookie1, cookie2]}){ "string" }

name = cookie1.name
values
= cookie1.value
path = cookie1.path
domain = cookie1.domain
expires = cookie1.expir...