I am developing a Rails app and I''m considering using LGXReport ( see http://www.logixml.com/rdPage.aspx?rdReport=LGXReport ) Worth checking out by the way, its free. Anyway, its a ASP.Net app and I''m using SQL Server. It uses open xml for its report format, and can use xml, a webservice or a database for a datasource. It requires users to login. Is it easy/possible to generate the appropriate request from Rails to seamlessly pass the user over to an ASP.NET app ? I don''t want users to have to log in twice. I guess I would have to also generate user accounts from Rails on the ASP.NET side, or perhaps all Rails users could use a single account on LGXReport. Any ideas about this ? I''m a newbie on Rails, ASP and web development in general, but an experienced developer in other areas. Regards Gary -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Mr Magpie wrote:> It requires users to login. Is it easy/possible to generate the > appropriate request from Rails to seamlessly pass the user over to an > ASP.NET app ? > I don''t want users to have to log in twice.Something you can try is to setup Rails to use a DB as it''s session store. It shouldn''t be too hard then to have .NET read out of the table then to see who is logged in, etc. Another option is to have a DRB process that kicks off when someone logs in and talks to a .NET listener that makes the appropriate changes on the .NET side (ie: writes to the SQL DB and marks the users as currently logged in, etc.) Probably several other ways to solve this as well. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Bojan Mihelac
2006-Oct-03 18:56 UTC
Re: How to pass users over to ASP.Net app seamlessly ?
> It requires users to login. Is it easy/possible to generate the > appropriate request from Rails to seamlessly pass the user over to an > ASP.NET app ? > I don''t want users to have to log in twice.Gary, I found these wiki page to do single login from RAILS for php forum: http://wiki.rubyonrails.com/rails/pages/HowToRenderProxiedPages hope it helps, Bojan -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Thanks to both of you. The answer should be in there somewhere -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---