Forum: Ruby on Rails sessions in controller actions

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
vanweerd (Guest)
on 2005-11-21 06:46
(Received via mailing list)
I have a session variable that only appears in a certain controller's
action. Is there something that relates session state to actoins?

e.g.
/member/list.rhtml
"<%= debug session %>" in page shows session[:return_to] is nil
Click on link to go to show

/member/show.rhtml
"<%= debug session %>" shows session[:return_to]'s prior value.

This is very strange to me. Am I missing something? Any suggestions
for debugging session issues in rails?

Thanks,
Nick
--
Nicholas Van W.
This topic is locked and can not be replied to.