An update. I have just created a very simple sandpit application and it works correctly. See below.
class AController < ApplicationController def hello @content = session[:keepthis] end def parameter reset_session session[:keepthis] = params[:affiliate] redirect_to :action => 'hello' end end and a routes.rb is map.a "a/:action", :controller => "a" map.a ":affiliate", :controller => "a", :action => "parameter", :requirements => { :affiliate => /\w+/ } Ok. So the new application was generated new on Rails 2.3.4 and the misbehaving application was built on 2.3.2 and was upgraded to 2.3.4. I will go and check the release notes but if anyone has any pointers on this then I would be very grateful. Thanks. O. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---