Secured Website

YZTC
YZTC used Ask the Experts™
on
I am trying to find out if it is possible to ave a link on  secured page of a website which requires members to login and have the link directed to another website where the pages are secured, but will not require a second login. Thanks for any thoughts . Also any advise on canned programs that may wor.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Richard GSystem Administrator

Commented:
Are the websites on the same server?  Are they using the same username and passwords? Are these on the same domain?
btanExec Consultant
Distinguished Expert 2018

Commented:
Sounds like single sign-on.
http://geekswithblogs.net/hmloo/archive/2012/07/09/how-to-implement-single-sign-on-between-websites.aspx
See an example in "Using different domains"
http://merbist.com/2012/04/04/building-and-implementing-a-single-sign-on-solution/
if the authentication application doesn’t find a signed cookie, the iframe can display a login form or redirect the iframe host to a login form depending on the required behavior.

Something to keep in mind when using multiple apps and domains is that you need to keep the shared cookies/sessions in sync, meaning that if you log out from an app, you need to also delete the auth cookie to ensure that users are globally logged out. (It also means that you might always want to use an iframe to check the login status and auto-logoff users).

Author

Commented:
They are not on the same server, and do not use the same user name and password. One site has been set up. The other we are just getting started with., so it's a blank page so to speak.
Exec Consultant
Distinguished Expert 2018
Commented:
if you do not want the second login, then it must be feed from somewhere by the application or be able to derive from the first login since the latter is a pre-requisite. Maybe a cookie passing to the second site and once it see it will just allow the user without login. If the second site need to bind to a certain person then the cookie may need to derive some fingerprint to represent the same user.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial