hoopplaya4 Posted January 20, 2009 Share Posted January 20, 2009 Hi All, I have (what I hope is) a quick question. I have two different websites hosted on two entirely different servers. However, I have a link that users will click on one website that takes them to the other site hosted on a different server. For example, user "Johnny" is logged in on Server A and clicks a link (www.serverb.com/session.php) that takes him to Server B. How could I configure session.php on Server B so that it only allows "Johnny" (who clicked the link) to view the webpage. E.g., not just anyone browsing the Internet can simply browse to session.php on Server B. Hope this makes sense! If you need clarification, let me know! Quote Link to comment https://forums.phpfreaks.com/topic/141548-transfer-session-quick-question/ Share on other sites More sharing options...
JonnoTheDev Posted January 20, 2009 Share Posted January 20, 2009 Connect the other site to the database on server A. You can then use a key to lookup the user and validate them. Quote Link to comment https://forums.phpfreaks.com/topic/141548-transfer-session-quick-question/#findComment-741047 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.