intervelopment Posted November 11, 2008 Share Posted November 11, 2008 Hey All, Got a bit of a tricky question. I have a site using a CMS and i want to integrate a osc shop into it, but continue to use the CMS to authenticate people for both systems. Has anybody ever touched on this before? i would like to get some tips on how it could be done. from what i can see in the login.php ... i would need to register the sessions associated with the shop as follows: tep_session_register('customer_id'); tep_session_register('customer_default_address_id'); tep_session_register('customer_first_name'); tep_session_register('customer_country_id'); tep_session_register('customer_zone_id'); I have never really used external authentication so im not sure if im right. But if someone could point me in the right direction, that would be grand Cheers Link to comment Share on other sites More sharing options...
Guest Posted November 11, 2008 Share Posted November 11, 2008 You would have to have a common database for authenitcation - ideally osc - or some way of keeping then synchronised and linked with sufficient data- then, as you say, registering session details though this would need to include a session id for oscommerce Link to comment Share on other sites More sharing options...
intervelopment Posted November 11, 2008 Author Share Posted November 11, 2008 Do you have any advice on if i was to do it the other way around. Authenticate to the CMS and you are automatically authenticated to the shop ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.