Rails - Multiple top level domains and a single session/cookie

后端 未结 5 451
长发绾君心
长发绾君心 2020-12-14 18:50

I\'ve been struggling with this for quite awhile and haven\'t been able to find a solution. I need a user to be able to view multiple top level domains with a single login.<

5条回答
  •  抹茶落季
    2020-12-14 19:50

    Your question is not really precise enough IMHO. Do you want a single cookie for all Rails apps you have or is it within the context of a single one? If the former, you want to look at solutions using database-backed sessions or something along the line of RubyCAS to implement the CAS protocol.

提交回复
热议问题