Rails session parasite...
fernand.galiana at gmail.com
Tue Jan 16 00:51:09 EST 2007
A redirect won'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.
If you stumble upon the session flush/store call, please ping me back...
On 1/15/07, Ezra Zygmuntowicz <ez at engineyard.com> wrote:
> On Jan 15, 2007, at 6:40 PM, Fernand Galiana wrote:
> > Thank you all for replying...
> > Now the key question here is how do I tell the session to persist
> > before delegating
> > to merb. It seems that the session gets persisted underneath the
> > scene by rails and
> > my session state gets out of wack between rails and merb.
> > Thus if in my rails controller I have:
> > def my_action
> > session[:fred] = "blee"
> > # call merb
> what does call merb do? You should do a redirect to merb. That way
> rails will finalize the sessions before merb gets the result. If that
> doesn't work then thereis a way to make the rails sessions flush but
> i can't recall what the method is right now.
> -- Ezra Zygmuntowicz
> -- Lead Rails Evangelist
> -- ez at engineyard.com
> -- Engine Yard, Serious Rails Hosting
> -- (866) 518-YARD (9273)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Merb-devel