Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

uaing TEP sessions sitewide


generic

Recommended Posts

I have my tep set up on a subdomain (shop.blahblah...) but I thought I might be able to make use of the existing customer base and sessions system on my root site (www.blahblah...)

 

Any ideas on how I can merge them?

 

Thanks!

 

-gen

 

(I guess it'd probably be important to note that I'm already using the Infoboxes outside OSC ( http://www.oscommerce.com/community/contri...ons,1075/page,2 ) contribution on my root site if that'll help things in any way)

Web Designers grow on trees...

Good ones grow on bushes...

Link to comment
Share on other sites

you can use a

 

define on the page before you send them outside your shopping cart

$osC = $HTTP_GET_VARS['sID'];

 

 

and add to your page outside your shopping cart

at the TOP of your .php page

 

<?php

global

?>

 

not 100% sure of this but its worth a try :)

 

better something to try then no answer at all... :P

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Link to comment
Share on other sites

Do you figure this will start a session if the user starts on the root site and then hang on to it if they navigate to the shop afterward or is that dependant on them going to the shop first?

Web Designers grow on trees...

Good ones grow on bushes...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...