Forum: Ruby on Rails Deploying another application as subdomain

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Raj S. (Guest)
on 2007-05-02 21:26
(Received via mailing list)
Let's say that I have an application up and running at http://eii.com

I and developing another application that is complimentary to eii.com
and
have decided to serve that application using http://services.eii.com

Now this is a totally different application but is useful to the people
visiting eii.com site.  This new application   has it's own database and
own
source code.

My problem is login part.

If a user logins to eiil.com and then visits services.eii.com how do I
know
who the user is and if the user is logged in or not? Should  I use
cookie
for this purpose then the someone can change the user_id in the cookie?

Thanks
This topic is locked and can not be replied to.