From my client-side JavaScript, I want that the user to be redirected to Login Screen and after login is successful, the user is redirected back from where he started
What happened when you tried it? What did you expect to happen?
I tested it on this forum. I logged out, went to the tags page. Did ajaxify.go('/login');. Entered my login info, and was redirected back to the tags page.
@grabmaier That question specifically asks about SSO. Session sharing is different in that it allows your user to skip the login altogether IIRC which is what you want.