J
Javier Valencia
I have a eruby page, which makes a new session just for fun. The code is:
cgi = CGI.new("html4")
session = CGI::Session.new(cgi, 'new_session' => true, 'prefix' =>
'rubyweb')
session['username'] = "rambo"
session.close
Then the header have a meta redirection to a simple script that creates
a session from an existing one:
cgi = CGI.new("html4")
session = CGI::Session.new(cgi, "new_session" => false, "prefix" =>
"rubyweb")
The problem is that my last session is NIL, so it's not working.
I have coockies enabled in my browser (firefox).
What's happening?
Thanks.
cgi = CGI.new("html4")
session = CGI::Session.new(cgi, 'new_session' => true, 'prefix' =>
'rubyweb')
session['username'] = "rambo"
session.close
Then the header have a meta redirection to a simple script that creates
a session from an existing one:
cgi = CGI.new("html4")
session = CGI::Session.new(cgi, "new_session" => false, "prefix" =>
"rubyweb")
The problem is that my last session is NIL, so it's not working.
I have coockies enabled in my browser (firefox).
What's happening?
Thanks.