Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can two osC's share a single users table?


h4x0r

Recommended Posts

I was wondering what it would take for two separate installs of osCommerce on a single domain to share a single user table, so that users don't have to sign up twice to use both store fronts. I know this seems like an odd question, but it was just something I was wondering about. Also, this is mostly hypothetical, so a resonse like, "Use only one install from the start" or, "Why would you need two installs on a domain?" aren't going to help any. Thanks!

Link to comment
Share on other sites

I don't think you can do that since the session ID's are built by the code from each shop and they would be different.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

you could use a common database for both stores or perhaps easier you could switch the sessions to be in files and then use a common folder to store sessions for both stores. You still need to do mods though because info from one store (like products) may not exist on the other.

Link to comment
Share on other sites

I was wondering what it would take for two separate installs of osCommerce on a single domain to share a single user table, so that users don't have to sign up twice to use both store fronts. I know this seems like an odd question, but it was just something I was wondering about. Also, this is mostly hypothetical, so a resonse like, "Use only one install from the start" or, "Why would you need two installs on a domain?" aren't going to help any. Thanks!

 

 

you can just add them to your clients list on your other site with there details then they dont have to sign up they just sign in

Link to comment
Share on other sites

Would require a lot of work, but you can use the database user table for both shops and then move all the other tables to a sub-table for each category.

 

osctable.jpg

BACKUP your current files before editing. Did I mention to BACKUP your current files, first?

 

"I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!"

 

Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...