Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Losing my sessions


Fleshh

Recommended Posts

Since this afternoon i always lose my session, whereever I go..

 

i used oscommerce for about 1,5 year without any problem! But when i was changing some things this morning, i found out that he doesnt remember my sessions anymore.

 

The only way to remember them is to set $oscsid=asd80hn021802r0 in the url everywhere (that is way to much work to change everywhere).

 

Now is my question: does anybody have a clue what i changed, or what i should change?

 

 

Facts:

- He makes new session everythime when i go to another part of the site (account/checkout/shopping_cart) unless i set the session in every url

- I use mysql to save the sessions

- I always worked fine until this morning (didnt make any big changes since then)

- I use the newest OScommerce (milestone 2), another site, which runs at Milestone 1, still works fine

 

 

Thats about it.. i really hope someone can help me

Link to comment
Share on other sites

Kind of the same problem as this guy:

http://www.oscommerce.com/forums/index.php?sho...=0entry382665

 

but he never got an answer...

 

my config:

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 [URL=http://www.oscommerce.com]http://www.oscommerce.com[/URL]

 Copyright ? 2003 osCommerce

 Released under the GNU General Public License
*/

   

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.g-glass.com'); // eg, [URL=http://localhost]http://localhost[/URL] - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.g-glass.com'); // eg, [URL=https://localhost]https://localhost[/URL] - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'http://www.g-glass.com');
 define('HTTPS_COOKIE_DOMAIN', 'https://www.g-glass.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/discsmoke/g-glass.com/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
// delete shit here for you guys;)

 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...