るりまサーチ

最速Rubyリファレンスマニュアル検索!
84件ヒット [1-84件を表示] (0.016秒)
トップページ > クエリ:expires=[x]

別のキーワード

  1. cookie expires=
  2. cookie expires
  3. cgi expires=
  4. cgi expires
  5. tuple expires=

ライブラリ

クラス

キーワード

検索結果

CGI::Cookie#expires=(value) (18100.0)

クッキーの有効期限をセットします。

クッキーの有効期限をセットします。

@param value 有効期限を Time のインスタンスで指定します。

Rinda::TupleEntry#expires=(expires) (18100.0)

タプルの期限切れの時刻を指定します。

タプルの期限切れの時刻を指定します。

@param expires 期限切れの時刻(Time)

@see Rinda::TupleEntry#expires

WEBrick::Cookie#expires=(value) (15100.0)

有効期限を Timeオブジェクトで表すアクセサです。

有効期限を Timeオブジェクトで表すアクセサです。

@param value 有効期限を Time オブジェクトまたは文字列を指定します。

CGI::Cookie (12.0)

クッキーを表すクラスです。

...omain = cookie1.domain
expires =
cookie1.expires
secure = cookie1.secure
httponly = cookie1.httponly

cookie1.name = 'name'
cookie1.value = ['value1', 'value2', ...]
cookie1.path = 'path'
cookie1.domain = 'domain'
cookie1.expires = Time.now + 30
cookie1....

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

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

...n
expires =
cookie1.expires
secure = cookie1.secure
httponly = cookie1.httponly

cookie1.name = 'name'
cookie1.value = ['value1', 'value2', ...]
cookie1.path = 'path'
cookie1.domain = 'domain'
cookie1.expires =...

絞り込み条件を変える

cgi (12.0)

CGI プログラムの支援ライブラリです。

...gi = CGI.new
for name, cookie in cgi.cookies
cookie.expires = Time.now + 30
end
cgi.out("cookie" => cgi.cookies){"string"}

cgi.cookies # { "name1" => cookie1, "name2" => cookie2, ... }

require "cgi"
cgi = CGI.new
cgi.cookies['name'].expires = Time.now + 30
cgi.out("cookie" => cgi.cookies['name']...

webrick/cgi (12.0)

一般の CGI 環境で webrick ライブラリのサーブレットと同じように CGI スクリプトを書くための ライブラリです。サーバが WEBrick でなくても使うことが出来ます。

...WEBrick::CGI
def do_GET(req, res)
c1 = WEBrick::Cookie.new("name1", "val1")
c1.expires = Time.now + 30
res.cookies << c1

c2 = WEBrick::Cookie.new("name2", "val2")
c2.expires = Time.now + 30
res.cookies << c2
end
end
MyCGI.new.start()

==== クライアン...