title: Set session variable with link_to Rails
body: <p>Is it possible to set a session variable with a link_to?  I don't want to set a parameter, because I have a couple redirects and it gets wiped away.</p>
  
  <p>i.e. I want to set a session variable "modelid" to "you" with a link.  </p>
  
  <p>I want to set a session variable while the FB login oauth runs...</p>
  
  <pre><code>&lt;%= link_to "New Post", "#", {:class =&gt; "btn btn-primary btn-large inline pull-left", :onclick =&gt; "FB.login(function(response){},{perms:'email, publish_stream, user_photos'});" } %&gt;
  </code></pre>