Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2010
    Posts
    32
    Plugin Contributions
    0

    Default messageStack question

    What is the difference between
    Code:
    add
    and
    Code:
    add_session
    ?

  2. #2
    Join Date
    Jan 2004
    Posts
    60,405
    Blog Entries
    4
    Plugin Contributions
    144

    Default Re: messageStack question

    "add" adds it for the current page display
    "add_session" adds it for the session, which allows the message to survive a page refresh such as a zen_redirect() call.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.



 

 

Similar Threads

  1. messageStack Puzzle
    By hengster in forum General Questions
    Replies: 0
    Last Post: 31 Aug 2010, 08:35 AM
  2. $messageStack->add('gv_send'...
    By creative_mind in forum General Questions
    Replies: 4
    Last Post: 5 May 2010, 07:11 AM
  3. Moving messagestack
    By batman36 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Mar 2008, 09:08 PM
  4. No messageStack output at all
    By ericpeng in forum General Questions
    Replies: 5
    Last Post: 2 Mar 2007, 07:55 AM
  5. Using $messagestack with zen_redirect
    By s_p_ike in forum General Questions
    Replies: 1
    Last Post: 9 Nov 2006, 11:09 AM

Bookmarks

Posting Permissions

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