osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Database Session tracking problems

This is a discussion on Database Session tracking problems within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I am unsure if this is a bug or some sort of configuration error... I have been setting up my ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-18-2003, 02:02 PM
Anonymous
Guest
 
Posts: n/a
Default Database Session tracking problems

I am unsure if this is a bug or some sort of configuration error...

I have been setting up my store locally on Win2K / Apache 1.3.29 etc.

When I add products to my basket as Guest, then go to checkout it prompts me to log on, informing me that the 'visitor cart will be merged with my member cart'.

Once I log on, my shopping cart turns out to be EMPTY! It does not merge them!

I just checked if it remembered my shopping cart at all, and no, it does not. After being logged on and adding a bunch of stuff to my cart, then logging off, then back on again to check if the stuff is still there, my cart turns out to be empty!

I have noticed that a massive URL does not appear online, while locally it does. (with all the random session letters). This is when database session tracking is used.

The software set-up locally and on my server are quite different;

Remotely (live web server)

Server OS: Linux 2.4.18-3
Database: MySQL 3.23.49

HTTP Server: Apache/1.3.23 (Unix) (Red-Hat/Linux) mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3
PHP/4.1.2 mod_perl/1.26 (Zend engine 1.1.1)

also has cURL installed


locally I run

HTTP Server: Apache/1.3.29 (Win32)
PHP Version: 4.3.4 (Zend: 1.3.0)
Database: MySQL 4.0.15-nt

no cURL


Once I changed the session tracking to be stored in files (in /tmp) online - setting define('STORE_SESSIONS', '');, suddenly my previous activities - adding products to test the shopping cart merging etc. appeared!


What I would like to know is - WHY is OSCommerce storing the session data in /tmp and NOT in the database?? session saving is set to('STORE_SESSIONS', 'mysql'); yet once this is disabled, I discovered that they had been saved elsewhere.

i have to set it to define('STORE_SESSIONS', ''); for it to work once more.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 12-03-2003, 02:54 AM
New Member
 
Join Date: Nov 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
pixelhed
Default

I have also experienced this problem, i was wondering if you have found any solution?

A
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Using Max for multiple stores - database problems oblongpeg osCMax v2 Customization/Mods 1 09-05-2006 01:21 AM
New install..Database connection problems eengledow osCMax v1.7 Installation 2 12-12-2004 07:21 PM
Session problems using shared SSL NickW osCMax v1.7 Installation 12 08-27-2004 02:43 PM
Session Problems stevenstevensteven osCommerce 2.2 Modification Help 0 12-19-2003 05:45 PM
SSL Errors, Session Cookie, Session Cache, NOVICE Problems? hanool osCommerce 2.2 Modification Help 1 09-07-2003 12:49 PM


All times are GMT -8. The time now is 09:10 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax