I have rails application on my website (A*) and application on different resource (B*) based on iframe of application A*. When I logged in from iframe app B* then rails store my session in cookies and rewrite old session started from pure application A* (if it is). Now when I go to application A* then i will be logged in by session from cookies written by B*.
How I may avoid it? I want store different sessions for iframe and non-iframe (B* and A*) apps.