On Sep 13, 5:58 pm, tom <[email protected]> wrote: > hi > > running a working rails3 + devise app. > once i sign in, i store the session id in the db. then when i go back > to the index view, the id is different. how can that be? > im always using:
What session store are you using? If you are using the cookie store (this is the default) then this is normal - for this store the session cookie isn't the id of a database row, memcache key etc, but the actual contents of the session Fred > controller > request.session_options[:id] > > view: > <%= logger.info session.inspect %> > <hr> > <%= request.session_options[:id] %> > <br> > <%= session['session_id'] %> > > could some pls helpme? > thx -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

