Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

X-Cart 4.4.1 Cart Session Variables

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-17-2010, 01:09 PM
  gallaghersean's Avatar 
gallaghersean gallaghersean is offline
 

Advanced Member
  
Join Date: Aug 2008
Location: Clearwater, FL
Posts: 52
 

Default X-Cart 4.4.1 Cart Session Variables

Hi,

I'm working on making a mod for version 4.4.x but I've been running into an issue with being able to get and edit the cart session variables.

From what I've working on so far I've found and know from previous versions is that xcart uses session_register (note: I don't understand why they use that since it's been deprecated) for session variables and seems to put them into the MySQL table xcart_sessions. And you use a cookie set per visitor which holds the session id which is looked up to reference that visitor's session data in the MySQL table.

Now my problem is that, although I am able to query the MySQL table to get the session data and look at it and I'm able to update the data in MySQL but the problem is that updates I do to the session data in MySQL don't seem to have any effect on the cart session data even though it's been changed in the MySQL table. Am I missing something? I don't understand why this is not working.

Thanks,

P.S. Hope this is the right place to post this.
__________________
.

Contact me about modifying x-cart for your needs.

Xcart Gold versions:
4.5.x, 4.4.3, 4.4.1, 4.4.0, 4.3.1
4.1.10, 4.1.9, 4.1.8

Add-on modules:

Featured Product Carousel
and other various mods I've built
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020