Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Session Variables not appearing in root pages


koolie

Recommended Posts

Posted

I believe my problem is similar to the problem here: http://www.oscommerce.com/forums/index.php?sho...ssion+variables

 

I have osCommerce installed at /catalog. I'm integrating it with a basic pages on the root / . My problem is that when I show what variables are set in the catalog pages, I get:

cart = Object

language = english

languages_id = 1

currency = USD

navigation = Object

customer_id = 2

customer_default_address_id = 2

customer_first_name = Pat

customer_country_id = 223

customer_zone_id = 64

 

However, when I check the pages in the root area, none of these show up. The top of my root pages have this:

<?php session_start(); ?>

<?php ob_start(); ?>

 

I tried removing ob_start() as I'm not entirely sure what this does..and that didnt help. Also, I framed in a cart page on my root pages and displayed sessions variables on both pages - just to make sure my root pages weren't erasing the osc session vars - and i didnt get any of the osc vars on the root page, but they did show up on the framed page.....any ideas?

Posted

I must be missing something. I've included the class on my index page, but the only variable that is coming through is the osc cookie: osCsid = 2cf29cf2532577e5598de88a9777cb53

 

none of the other variables are made available. Is there something to this that I am missing?

Archived

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

×
×
  • Create New...