session - LinkedIn Login as Authentication for PHP pages -
i have built website users able login linkedin accounts. managed linkedin connection using tutorial: http://thinkdiff.net/linkedin/integrate-linkedin-api-in-your-site/ bit stuck because php pages (home.php, account.php, etc..) accessible if logged in via linkedin. far can login using linkedin (like tutorial) can access pages, supposed authorized using linkedin, directly url.
i believe in order accomplish have store authentication response linkedin value in session variable , checking on each .php page, secured, see if value set.
any great, posts have read regarding linkedin have hyperlinks no longer existing api & code examples.
yes. need store login in session variable , put php @ front of every page want protect. this answer has code need.
Comments
Post a Comment