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] = 'session_id'
<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> <<a href="mailto:ez@engineyard.com">ez@engineyard.com</a>
> 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>> Since I'm on a role in talking to myself... here it goes...
<br>><br>> I 'fixed' it... the rails app was sending the session_id as cookies<br>> ['_session_id'] and merb was trying to get it from cookies<br>> [:session_id]....<br>><br>> sooo. I hacked it for now but I'll have to figure out where to
<br>> change that name later...<br>> I set cookies[:session_id] = cookies['_session_id'] under<br>> MERB_GEM_ROOT/lib/merb/session/merb_ar_session.rb<br>><br>> It works now. But any ideas or suggestions are welcome. :-)
<br>><br>> cheers,<br>><br>> -rjs-<br>><br>><br>> On 12/27/06, Rogelio J. Samour < <a href="mailto:rogelio.samour@gmail.com">rogelio.samour@gmail.com</a>><br>> wrote:I'm having an issue with ARsessions... I have a rails app AND
<br>> a merb app both under the same domain... I have redirects working<br>> for this to be seamless... however, the session started on merb is<br>> different than the session started in the rails app... like so..
<br>> <a href="http://pastie.caboo.se/private/r1ar42qiaekrqjdt6y">http://pastie.caboo.se/private/r1ar42qiaekrqjdt6y</a><br>><br>> Any ideas why?<br>><br>> The only difference I see, but dunno where to change this, is that
<br>> the rails app uses utc datetimes... the merb app doesn't.. one can<br>> see that on the attributes.<br>><br>> Thanks!<br>><br>> Cheers,<br>><br>><br>> -rjs-<br>><br><br><br>Hey Man-
<br><br><br> 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>