Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Where are cart contents stored?

    You are getting into the grey area of the cache ...

    Were you to add to cart and not be able to touch the update cart button when you truncated the session table then that would not happen ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #2
    Join Date
    Oct 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Where are cart contents stored?

    Thanks, you are right
    I understood now
    Where is the format of sessions defined?
    San
    Email: advanced DOT programmer AT gmail DOT com

  3. #3
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Where are cart contents stored?

    Perhaps if you told us exactly what you are wanting to do we could point you in the right direction.

  4. #4
    Join Date
    Oct 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Where are cart contents stored?

    I am trying to understand the things
    When I said
    foreach($_SESSION as $key=>$value)
    {
    echo 'The value of $_SESSION['."'".$key."'".'] is '."'".$value."'".' <br />';
    }

    Is it because all session info is stored in the database?

    Currently the session table has the record:

    customers_host_address|s:9:"localhost";cartID|s:0:"";cart|O:12:"shoppingcart":8: {s:8:"contents";a:1:{i:27;a:1:{s:3:"qty";i:1;}}s:5:"total";d:90;s:6:"weight";i:8 ;s:6:"cartID";s:5:"97814";s:12:"content_type";b:0;s:18:"free_shipping_item";i:0; s:20:"free_shipping_weight";i:0;s:19:"free_shipping_price";i:0;}language|s:7:"en glish";languages_id|s:1:"1";currency|s:3:"USD";check_valid|s:4:"true";navigation |O:17:"navigationhistory":2:{s:4:"path";a:3:{i:0;a:4:{s:4:"page";s:5:"index";s:4 :"mode";s:6:"NONSSL";s:3:"get";a:1:{s:5:"cPath";s:2:"18";}s:4:"post";a:0:{}}i:1; a:4:{s:4:"page";s:21:"products_general_info";s:4:"mode";s:6:"NONSSL";s:3:"get";a :3:{s:5:"cPath";s:2:"18";s:4:"sort";s:3:"20a";s:6:"action";s:29:"multiple_produc ts_add_product";}s:4:"post";a:2:{s:11:"products_id";a:10:{i:19;s:1:"0";i:36;s:1: "0";i:37;s:1:"0";i:34;s:1:"0";i:35;s:1:"0";i:23;s:1:"0";i:16;s:1:"0";i:22;s:1:"0 ";i:12;s:1:"0";i:27;s:1:"1";}s:7:"submit1";s:29:"Add Selected Products to Cart";}}i:2;a:4:{s:4:"page";s:13:"shopping_cart";s:4:"mode";s:6:"NONSSL";s:3:"ge t";a:1:{s:4:"sort";s:3:"20a";}s:4:"post";a:0:{}}}s:8:"snapshot";a:0:{}}update_ex pirations|s:4:"true";new_products_id_in_cart|s:0:"";valid_to_checkout|b:1;cart_e rrors|s:0:"";

    1. Where is it defined that write the sessions in this format?
    2. In which fiile are we doing this and in which file we are parsing the session(if at all)

    Thanks
    Email: advanced DOT programmer AT gmail DOT com

  5. #5
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Where are cart contents stored?

    Are you wanting to be able to manipulate the information in the cart?

  6. #6
    Join Date
    Oct 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Where are cart contents stored?

    Quote Originally Posted by Kim
    Are you wanting to be able to manipulate the information in the cart?
    Yes and also how can I change this format if required
    Email: advanced DOT programmer AT gmail DOT com

  7. #7
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Where are cart contents stored?

    Anyone please answer

 

 

Similar Threads

  1. Where are database quiries stored ?
    By Trademonkey in forum General Questions
    Replies: 1
    Last Post: 31 Dec 2010, 12:00 AM
  2. Where are the descriptions stored?
    By panzico in forum General Questions
    Replies: 6
    Last Post: 2 Oct 2008, 04:14 PM
  3. E-Z pages..where are they stored
    By karen in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Apr 2008, 08:21 PM
  4. Where are EZ Pages Stored
    By Petzlifedirect.com in forum General Questions
    Replies: 10
    Last Post: 19 Mar 2007, 05:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg