Hey Ezra,<br><br>&nbsp;&nbsp; A redirect won&#39;t work as I need to return results from the merb call. Basically I am retrieving some xml from the rails action by calling merb. <br>&nbsp;&nbsp; If you stumble upon the session flush/store call, please ping me back...
<br><br>Thanks,<br>Fernand<br><br><div><span class="gmail_quote">On 1/15/07, <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 Jan 15, 2007, at 6:40 PM, Fernand Galiana wrote:<br><br>&gt; Thank you all for replying...<br>&gt;<br>&gt; Now the key question here is how do I tell the session to persist<br>&gt; before delegating<br>&gt; to merb. It seems that the session gets persisted underneath the
<br>&gt; scene by rails and<br>&gt; my session state gets out of wack between rails and merb.<br>&gt;<br>&gt; Thus if in my rails controller I have:<br>&gt;<br>&gt; def my_action<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;session[:fred] = &quot;blee&quot;
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;# call merb<br><br>what does call merb do? You should do a redirect to merb. That way<br>rails will finalize the sessions before merb gets the result. If that<br>doesn&#39;t work then thereis a way to make the rails sessions flush but
<br>i can&#39;t recall what the method is right now.<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>