Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Loosing session id


woutertarifa

Recommended Posts

Posted

Hi Everybody,

 

I have the following problem on mi oscommerce site: As soon as I am in a category and I choose manufacturer from the drop down menu on the top, my session id is lost.

 

- if logged in I am being logged out

- if the cart contained items it is emptied

- if watching the page in english, it jumps over to spanish (My default language)

 

I posted this problem last weeek (differently formulated), but I still don´t have the solution.

 

Hope that somebody can help me out.

 

Thanks,

 

Wouter

Posted
Hi Everybody,

 

I have the following problem on mi oscommerce site: As soon as I am in a category and I choose manufacturer from the drop down menu on the top, my session id is lost.

 

- if logged in I am being logged out

- if the cart contained items it is emptied

- if watching the page in english, it jumps over to spanish (My default language)

 

I posted this problem last weeek (differently formulated), but I still don´t have the solution.

 

Hope that somebody can help me out.

 

Thanks,

 

Wouter

 

you have a link to one of the pages where that happens?

Treasurer MFC

  • 3 months later...
Posted
Hi Everybody,

 

I have the following problem on mi oscommerce site: As soon as I am in a category and I choose manufacturer from the drop down menu on the top, my session id is lost.

 

- if logged in I am being logged out

- if the cart contained items it is emptied

- if watching the page in english, it jumps over to spanish (My default language)

 

I posted this problem last weeek (differently formulated), but I still don´t have the solution.

 

Hope that somebody can help me out.

 

Thanks,

 

Wouter

 

 

I'm having the same problem. I have commented out the code as customers were losing their carts

 

here is the code

 

// optional Product List Filter -REMOVED MAUNFACTURE LIST
/*    if (PRODUCT_LIST_FILTER > 0) {
     if (isset($HTTP_GET_VARS['manufacturers_id'])) {
       $filterlist_sql = "select distinct c.categories_id as id, cd.categories_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' order by cd.categories_name";
     } else {
       $filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by m.manufacturers_name";
     }
     $filterlist_query = tep_db_query($filterlist_sql);
     if (tep_db_num_rows($filterlist_query) > 1) {
       echo '            <td align="center" class="main">' . tep_draw_form('filter', FILENAME_DEFAULT, 'get') . TEXT_SHOW . ' ';
       if (isset($HTTP_GET_VARS['manufacturers_id'])) {
         echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']);
         $options = array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES));
       } else {
         echo tep_draw_hidden_field('cPath', $cPath);
         $options = array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS));
       }
       echo tep_draw_hidden_field('sort', $HTTP_GET_VARS['sort']);
       while ($filterlist = tep_db_fetch_array($filterlist_query)) {
         $options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']);
       }
       echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"');
       echo '</form></td>' . "\n";
     }
   }
   */

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

Long Island, New York

Posted

check and see if you have your recreate session turned on if you do turn them off.

 

Also force cookies see if that helps.

Posted
check and see if you have your recreate session turned on if you do turn them off.

 

Also force cookies see if that helps.

 

 

Hi

 

Tried that and it still changes my session id. It does not matter if i'm logged in or not. Everytime i use the dropdowm menu it creates another session ID??

 

 

Joe

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

Long Island, New York

Archived

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

×
×
  • Create New...