N
Size: a a a
VV
random
OE
VV
VV
OE
OE
VV
random
VV
OE
OE
VV
$ ruby app.rb
== Sinatra (v2.0.5) has taken the stage on 4567 for development with backup from Puma
Puma starting in single mode...
* Version 3.12.0 (ruby 2.4.4-p296), codename: Llamas in Pajamas
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://localhost:4567
Use Ctrl-C to stop
127.0.0.1 - - [23/Sep/2019:20:31:47 +0300] "GET /set_session HTTP/1.1" 200 8 0.0079
127.0.0.1 - - [23/Sep/2019:20:31:47 +0300] "GET /favicon.ico HTTP/1.1" 404 469 0.0011
Return value is: nil
[8, 17] in /home/install/app.rb
8: end
9:
10: get '/get_session' do
11: session[:test].inspect
12: byebug
=> 13: end
14:
15: def random
16: 'asdfsadf'
17: end
(byebug) session
{"session_id"=>"9f435363db4f3dcae4a32a068da2a4600a8de62a2e5d551c6412d576ee9388be", "csrf"=>"7NUC9OpoXWrT8BPZASgUjLqhKZ/zzWE8Hwu2QgRSlik=", "tracking"=>{"HTTP_USER_AGENT"=>"ed63febfa774fcc7c9bdeef5810593add38300bd"}, "test"=>"asdfsadf"}
VV
VV
МБ
МБ
AS
МБ
OE