Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a Session


Guest

Recommended Posts

Hey everyone, quick question here...

 

I am trying to add a session to keep track of an affiliate id so when people go through the checkout process it will keep track of the affiliate id.

I am using php to do this and everything works fine except for the product_info.php and shopping_cart.php pages.

 

I keep getting an error like "headers already sent" etc...

 

Has anyone here done something like this that can give me some hints or might know another option...

 

Thanks

Link to comment
Share on other sites

The "headers already sent" error is usually caused by 'whitespace' at the end of your file - make sure there is no space after the very last ?> tag

 

Matti

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...