Actually. I did the following:<br><br>vi config/environment.rb<br><br>at the very bottom, outside of the Rails::Initializer block, I wrote:<br><br>ActionController::Base.session_options[:session_key] = &#39;session_id&#39;
<br><br>And that works with merb now. I was thinking of allowing merb
to be able to change the session_key as well through the merb_init.rb
file. <br><br>cheers,<br><span class="sg"><br>-rjs-</span><br><br><div><span class="gmail_quote">On 12/27/06, <b class="gmail_sendername">Ezra Zygmuntowicz</b> &lt;<a href="mailto:ez@engineyard.com">ez@engineyard.com</a>
&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>On Dec 27, 2006, at 12:39 PM, Rogelio J. Samour wrote:<br><br>&gt; Since I&#39;m on a role in talking to myself... here it goes...
<br>&gt;<br>&gt; I &#39;fixed&#39; it... the rails app was sending the session_id as cookies<br>&gt; [&#39;_session_id&#39;] and merb was trying to get it from cookies<br>&gt; [:session_id]....<br>&gt;<br>&gt; sooo. I hacked it for now but I&#39;ll have to figure out where to
<br>&gt; change that name later...<br>&gt; I set&nbsp;&nbsp;cookies[:session_id] = cookies[&#39;_session_id&#39;] under<br>&gt; MERB_GEM_ROOT/lib/merb/session/merb_ar_session.rb<br>&gt;<br>&gt; It works now. But any ideas or suggestions are welcome. :-)
<br>&gt;<br>&gt; cheers,<br>&gt;<br>&gt; -rjs-<br>&gt;<br>&gt;<br>&gt; On 12/27/06, Rogelio J. Samour &lt; <a href="mailto:rogelio.samour@gmail.com">rogelio.samour@gmail.com</a>&gt;<br>&gt; wrote:I&#39;m having an issue with ARsessions... I have a rails app AND
<br>&gt; a merb app both under the same domain... I have redirects working<br>&gt; for this to be seamless... however, the session started on merb is<br>&gt; different than the session started in the rails app... like so..
<br>&gt; <a href="http://pastie.caboo.se/private/r1ar42qiaekrqjdt6y">http://pastie.caboo.se/private/r1ar42qiaekrqjdt6y</a><br>&gt;<br>&gt; Any ideas why?<br>&gt;<br>&gt; The only difference I see, but dunno where to change this, is that
<br>&gt; the rails app uses utc datetimes... the merb app doesn&#39;t.. one can<br>&gt; see that on the attributes.<br>&gt;<br>&gt; Thanks!<br>&gt;<br>&gt; Cheers,<br>&gt;<br>&gt;<br>&gt; -rjs-<br>&gt;<br><br><br>Hey Man-
<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I guess I should change merb to use _session_id so its easy to use<br>the rails cookie. One way around it without changing any code is to<br>make the redirect to merb have ?session_id=dkhfkjdfkadjfjkadfh
<br>appended to the query string. That will fix it for now. I will change<br>merb to use _session_id so this is more seamless though.<br><br>Cheers-<br><br>-- Ezra Zygmuntowicz<br>-- Lead Rails Evangelist<br>-- <a href="mailto:ez@engineyard.com">
ez@engineyard.com</a><br>-- Engine Yard, Serious Rails Hosting<br>-- (866) 518-YARD (9273)<br><br><br></blockquote></div><br>