Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    5
    Plugin Contributions
    0

    Default Add Session Variables

    Hi,

    Referring the travel site - http://www.demo.talash.net/zentourism/

    Depending on the requirement of the tour & travel site, I have implemented customized confirmation form that the customer need to fill after made decision to purchase the product in product_display window.

    I need to know file/module where the cart items are stored in session so that I may include the form data in the session, and later on retrieve those data for further utilization.

    Please guide me how to add store some additional session variable along with the cart element and retrieve them when the member log in.

    Thanks.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Add Session Variables

    I'm not sure that you would want to tie your data to the cart session variables, since if your collecting it at confirmation, you're doing so immediately before the cart session variables are emptied.

    It's no big deal to simply create your own session variables when you collect the data maybe by creating your own $_SESSION['form_data'] array and then trashing it (unset($_SESSION['form_data'])). These actions would usually be done in the modules/pages/PAGE_NAME/header_php.php files.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Login session variables
    By xtjx09 in forum General Questions
    Replies: 5
    Last Post: 14 Aug 2010, 04:47 AM
  2. printing session variables
    By Amit001 in forum General Questions
    Replies: 1
    Last Post: 26 Nov 2009, 01:12 PM
  3. Session variables assignments
    By race1 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Aug 2008, 05:18 AM

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