Tuesday, August 14, 2012

Re: [Rails] Rails session ID

On Tue, Aug 14, 2012 at 7:59 AM, Tim Slattery <Slattery_T@bls.gov> wrote:
> I'm trying to retrieve the session ID in rails. I found a web page
> that said to use
>
> session.session_id
>
> But when I do that, I get:
>
> undefined method `session_id' for
> #<Rack::Session::Abstract::SessionHash:0x2e14c5>
>
> What do I need to do?

Show the code that's causing that error message, plus the versions
of both Ruby and Rails. At least for starters :-)

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate