Avatar of YZTC
YZTC
 asked on

Secured Website

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.
Web DevelopmentPage Layout Software

Avatar of undefined
Last Comment
btan

8/22/2022 - Mon
Richard G

Are the websites on the same server?  Are they using the same username and passwords? Are these on the same domain?
btan

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).
YZTC

ASKER
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.
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER CERTIFIED SOLUTION
btan

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.