192件ヒット
[1-100件を表示]
(0.112秒)
種類
- インスタンスメソッド (120)
- ライブラリ (36)
- 特異メソッド (24)
- クラス (12)
ライブラリ
-
cgi
/ core (24) -
cgi
/ session (12) -
rinda
/ tuplespace (48)
クラス
- CGI (24)
-
CGI
:: Cookie (36) -
CGI
:: Session (12) -
Rinda
:: TupleEntry (48) -
WEBrick
:: Cookie (24)
キーワード
- Cookie (12)
- cgi (12)
-
cgi
/ session (12) - expired? (12)
- expires= (36)
- header (12)
- new (24)
- out (12)
- renew (12)
-
webrick
/ cgi (12)
検索結果
先頭5件
-
WEBrick
:: Cookie # expires -> Time (24202.0) -
有効期限を Timeオブジェクトで表すアクセサです。
...有効期限を Timeオブジェクトで表すアクセサです。
@param value 有効期限を Time オブジェクトまたは文字列を指定します。... -
CGI
:: Cookie # expires -> Time (24201.0) -
クッキーの有効期限を返します。
クッキーの有効期限を返します。 -
Rinda
:: TupleEntry # expires -> Time (24201.0) -
タプルの期限切れの時刻を返します。
...タプルの期限切れの時刻を返します。
有効期限を無限に指定した場合、この時刻は Time.at(2**31-1)、つまり
Tue Jan 19 03:14:07 GMT Standard Time 2038 を返します。
@see Rinda::TupleEntry#expire... -
Rinda
:: TupleEntry # expires=(expires) (12414.0) -
タプルの期限切れの時刻を指定します。
...タプルの期限切れの時刻を指定します。
@param expires 期限切れの時刻(Time)
@see Rinda::TupleEntry#expires... -
WEBrick
:: Cookie # expires=(value) (12202.0) -
有効期限を Timeオブジェクトで表すアクセサです。
...有効期限を Timeオブジェクトで表すアクセサです。
@param value 有効期限を Time オブジェクトまたは文字列を指定します。... -
CGI
:: Cookie # expires=(value) (12201.0) -
クッキーの有効期限をセットします。
...クッキーの有効期限をセットします。
@param value 有効期限を Time のインスタンスで指定します。... -
Rinda
:: TupleEntry # expired? -> bool (6106.0) -
タプルが既に期限切れになっているならば真を返します。
...タプルが既に期限切れになっているならば真を返します。
@see Rinda::TupleEntry#expires, @see Rinda::TupleEntry#renew... -
CGI
:: Cookie (6024.0) -
クッキーを表すクラスです。
...クッキーを表すクラスです。
例:
cookie1 = CGI::Cookie.new("name", "value1", "value2", ...)
cookie1 = CGI::Cookie.new({"name" => "name", "value" => "value"})
cookie1 = CGI::Cookie.new({'name' => 'name',
'value' => ['value1', 'value2', ...],......=> 'path', # optional
'domain' => 'domain', # optional
'expires' => Time.now, # optional
'secure' => true # optional
'httponly' => true # optional......cgi.out({"cookie" => [cookie1, cookie2]}){ "string" }
name = cookie1.name
values = cookie1.value
path = cookie1.path
domain = cookie1.domain
expires = cookie1.expires
secure = cookie1.secure
httponly = cookie1.httponly
cookie1.name = 'name'
cookie1.v... -
cgi (6012.0)
-
CGI プログラムの支援ライブラリです。
...CGI プログラムの支援ライブラリです。
CGI プロトコルの詳細については以下の文書を参照してください。
* https://tools.ietf.org/html/draft-coar-cgi-v11-03
* 3875: The Common Gateway Interface (CGI) Version 1.1
* https://www.w3.org/CGI/
=== 使用例
=......ist[][ruby]{
require "cgi"
cgi = CGI.new
values = cgi['field_name'] # <== 'field_name' の配列
# 'field_name' が指定されていなかったら、 ""を返す。
fields = cgi.keys # <== field nameの配列
# フォームに 'field_name' というfield nameがあるときに真
cgi......riginal_filename # 元の名前
value.content_type # content_type
//}
==== クライアントにクッキーを渡す
//emlist[][ruby]{
require "cgi"
cgi = CGI.new
for name, cookie in cgi.cookies
cookie.expires = Time.now + 30
end
cgi.out("cookie" => cgi.cookie...
