jugglingandy Posted January 2, 2006 Share Posted January 2, 2006 Hi, I want pages outside of the oscommerce directory to be able to access the session variables created by oscommerce to determine if a user is logged in or not. That way I can use the oscommerce login for my entire site instead of creating two seperate logins. I cannot seem to find the code where the login session variables are set, so I don't know the name of the variable I should be checking on pages outside the oscommerce directory. On my www.domain.com/index.php page, I want to do something like: if (!$_osCommerceLoggedIn) { then.. } else {} Has anyone done this before? Thanks for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.