I have more than one applications. I want to be able to share a session between them using cookie_store.
Application A:
before_filter :authenticate_from!
def authenticate_from!
unless session['warden.user.user.key'].nil?
@user=User.find_or_initialize_by_id(ky[1])
sign_in @user
end
end
It can work, but application B session can not be identified. What should I do?