title: Ruby on Rails: how can I store additional data in the session for authlogic
body: <p>I'm using Authlogic to authenticate users.</p>
  
  <p>I understand how to create and use sessions, but want to store an additional id variable in the current_user session created by authlogic.</p>
  
  <p>Can I just do something like this:</p>
  
  <blockquote>
  <pre><code>session[:authlogic_sess_name] = @extra_id.id
  </code></pre>
  </blockquote>
  
  <p>However, I'm not sure what the authlogic session is named though or how to access it.</p>
  
  <p>Thanks!</p>