Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2006
    Posts
    6
    Plugin Contributions
    0

    How to hide a session name?

    Hi. When user opens url of my shop for the first time, zenid variable (session name) is added to all links which makes them very long and unfriendly to search engines. After visiting any link, zenid disappears. Seems it happens by using zen_hide_session_id function. But it would be great to hide a session name when users visit my shop for the first time. Is it possible to perform this trick or not?

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

    Default Re: How to hide a session name?

    Quote Originally Posted by MARcoDEN
    Hi. When user opens url of my shop for the first time, zenid variable (session name) is added to all links which makes them very long and unfriendly to search engines. After visiting any link, zenid disappears. Seems it happens by using zen_hide_session_id function. But it would be great to hide a session name when users visit my shop for the first time. Is it possible to perform this trick or not?
    Where does it actually adds session name?
    I tried on my test cart and was not able to get it
    San

  3. #3
    Join Date
    Mar 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: How to hide a session name?

    Quote Originally Posted by superprg
    Where does it actually adds session name?
    I tried on my test cart and was not able to get it
    San
    In the default template look at the upper left corner. You will see 2 links there: Home and Login. Now check the Login link address. It looks like index.php?main_page=login&zenid=0e86e5fc18fa63e783d0a755ec794696. Do you see the zenid variable? It's what I mean in my previous post. This variable represents a session name and zencart engine adds it to every link.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: How to hide a session name?

    If you understand the consequences and risks of doing so, you might want to try this experimental code: http://www.zen-cart.com/forum/showthread.php?t=39392
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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.

  5. #5
    Join Date
    Mar 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: How to hide a session name?

    Quote Originally Posted by DrByte
    If you understand the consequences and risks of doing so, you might want to try this experimental code: http://www.zen-cart.com/forum/showthread.php?t=39392
    Thank you! This mod is exactly what I was looking for!

 

 

Similar Threads

  1. Replies: 3
    Last Post: 15 Jan 2012, 07:34 PM
  2. How do I hide customer's last name on product reviews?
    By Bob88Vette in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 May 2010, 06:01 PM
  3. Hide name in review - is it possible?
    By elgar in forum Managing Customers and Orders
    Replies: 0
    Last Post: 18 Sep 2008, 10:42 PM
  4. hide your name
    By jthomo in forum PayPal Express Checkout support
    Replies: 8
    Last Post: 2 Oct 2007, 07:10 PM
  5. Hide attribute name
    By Phil020782 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 29 Jul 2007, 11: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