Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Session confusion

    Getting there on my own.

    Put some more debugging into autoload_func.php and turned up a call to init_customer_auth.php which does a redirect to the login page if the customer id session var doesn't exist.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Session confusion

    $_SESSION['customer_id'] is set to a real value (ie: > 0) if the customer is logged in.
    .

    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.

 

 

Similar Threads

  1. v137 Whoops! Your session has expired. Session Question.
    By weblamer in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 7 Jun 2015, 07:20 PM
  2. Replies: 3
    Last Post: 15 Jan 2012, 07:34 PM
  3. Replies: 5
    Last Post: 16 Oct 2007, 04:25 PM
  4. Recreate Session - Same or New Session ID ?
    By DogTags in forum General Questions
    Replies: 2
    Last Post: 6 Aug 2007, 02:09 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