F
Florian Weber
hi!
i'm trying to use a session via a existing session_id like:
CGI::Session.new(CGI.new, {"database_manager" => CGI::Session:Store,
"prefix" => "ruby_sess.", "session_path" => "/", 'session_id' =>
my_session_id})
the session was created earlier (but via a cookie) already and has some
data.
the strange thing is that if i continue the session like above and
pass the existing session_id, the session doesn't have any data:
--- !ruby/object:CGI::Session
dbman: &id001 !ruby/object:CGI::Session:Store
p: !ruby/objectStore
abort: false
filename: /tmp/ruby_sess.484ff15de1461381
rdonly: false
table:
transaction: false
dbprot:
- *id001
new_session: false
session_id: 9cae61297538d8ea4d415a9ee42f8f1f
any ideas what could go wrong here?
thanks a lot!
ciao!
florian
i'm trying to use a session via a existing session_id like:
CGI::Session.new(CGI.new, {"database_manager" => CGI::Session:Store,
"prefix" => "ruby_sess.", "session_path" => "/", 'session_id' =>
my_session_id})
the session was created earlier (but via a cookie) already and has some
data.
the strange thing is that if i continue the session like above and
pass the existing session_id, the session doesn't have any data:
--- !ruby/object:CGI::Session
dbman: &id001 !ruby/object:CGI::Session:Store
p: !ruby/objectStore
abort: false
filename: /tmp/ruby_sess.484ff15de1461381
rdonly: false
table:
transaction: false
dbprot:
- *id001
new_session: false
session_id: 9cae61297538d8ea4d415a9ee42f8f1f
any ideas what could go wrong here?
thanks a lot!
ciao!
florian