troubleshooting Question

OSCommerce & phpFox - Sessions and Cookies - Synched Logins

Avatar of CTru
CTru asked on
ProgrammingPHPE-Commerce
6 Comments1 Solution2067 ViewsLast Modified:
Hi All,

My project is to integrate phpFox & OSCommerce, both open source applications.

Am trying to implement an integration that does not have a dominant, or master side. That is without redirects, and does not use one or the other exclusively, to register or login or change information.

Each is presently in its own environment: phpFox in one folder, OSC in another, both folders in root.

Have already gotten most, if not all of the grunt work, and then some, done:
- Merged the user (phpFox) with customers and customers_info (OSC) database tables.
- Updated the necessary database column names in all files.
- Added queries to update one application while in the other (from either).
- Replaced password and verification process in OSC, with phpFox's.

What I presently have completed, is separate yet merged, and working. Meaning that when registering through the phpFox side, the OSC side is also registered (but not logged in); the customer then exists in OSC with the same registration information (i.e. email and password). And then can login from either side, phpFox or OSC. The same, visa versa (register in OSC & be registered in phpFox).

-------------------------------------------------------------

To complete this project, all that's left to do is to have both applications be able to start a session and set cookies for the other, at the same time they're starting and setting their own. Or, perhaps, share a session and cookies.

I am looking to end up being able to register or login from either, and then be registered and/or logged in transparently/seamlessly to the other.

-------------------------------------------------------------

I am hoping to be pointed in a direction. Looking for ideas or thoughts towards how I can go about it. Needing some help with this last part of my project.

Thanks for your time...
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros