title: session_store :active_record_store options
body: <p>Wanted to know the meaning of the :secret and :key options while configuring the session_store. So, for example I have a config like the following:</p>
  
  <pre><code>MyApp::Application.config.session_store :active_record_store, 
      {:key =&gt; '_my_app_session', :secret =&gt; '5xb5x1g92e965b95b16e49x79gxx9999', :expire_after =&gt; 2.hours}
  </code></pre>
  
  <p>what would the :secret and :key options do here? I googled but not many answers.</p>
  
  <p>Thanks</p>