REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.83 KB
Close
//proc/thread-self/root/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Session/Cookie/cdesc-Cookie.yaml
Text
Base64
--- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: coder rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "Rack::Session::Cookie provides simple cookie based session management. By default, the session is a Ruby Hash stored as base64 encoded marshalled data set to :key (default: rack.session). The object that encodes the session data is configurable and must respond to <tt>encode</tt> and <tt>decode</tt>. Both methods must take a string and return a string." - !ruby/struct:SM::Flow::P body: When the secret key is set, cookie data is checked for data integrity. The old secret key is also accepted and allows graceful secret rotation. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " use Rack::Session::Cookie, :key => 'rack.session',\n :domain => 'foo.com',\n :path => '/',\n :expire_after => 2592000,\n :secret => 'change_me',\n :old_secret => 'also_change_me'\n\n All parameters are optional.\n" - !ruby/struct:SM::Flow::P body: "Example of a cookie with no encoding:" - !ruby/struct:SM::Flow::VERB body: " Rack::Session::Cookie.new(application, {\n :coder => Rack::Session::Cookie::Identity.new\n })\n" - !ruby/struct:SM::Flow::P body: "Example of a cookie with custom encoding:" - !ruby/struct:SM::Flow::VERB body: " Rack::Session::Cookie.new(application, {\n :coder => Class.new {\n def encode(str); str.reverse; end\n def decode(str); str.reverse; end\n }.new\n })\n" constants: [] full_name: Rack::Session::Cookie includes: [] instance_methods: [] name: Cookie superclass: Abstract::ID
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 2 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Base64
DIR
-
drwxr-xr-x
2024-03-03 22:50:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Identity
DIR
-
drwxr-xr-x
2024-03-03 22:50:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cdesc-Cookie.yaml
1.83 KB
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
new-c.yaml
190 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).