Tim Shaffer wrote in post #961029: > On Nov 12, 10:07am, Fritz Trapper <[email protected]> wrote: >> The simplest case: >> A paginated index that offers an edit link, that returns to the >> current page of the index. The page number is stored in session. > > Store the page parameter in the query string instead of the session.
Exactly! That way you won't break the back button. Right now, you're using session data in such a way that index pages do not have bookmarkable URLs. This is bad for many reasons, and is the root cause of your proximate problem. Rule of thumb: if you think you need to track your user's clickstream in the session *to make your application work*, then your design is probably wrong. (Note the emphasized phrase. If you want to track your user's clickstream for marketing or optimization purposes, that's quite another matter.) Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.com/. -- 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.

