Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    38
    Plugin Contributions
    0

    Default session_regenerate_id - what behaviors trigger a regenerate of session id?

    how is a session_regenerate_id triggered?

    what cart/user/browser behaviors occur to make this happen?

    gotta write something to an external system that changes the session id of the external tool when the cart changes its session to keep both the same

    thx
    peace

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

    Default Re: session_regenerate_id - what behaviors trigger a regenerate of session id?

    It happens whenever zen_session_recreate() is called. And that happens whenever the user does something that requires that function to be called. You can see where that function is called by looking at the code using your favorite editor and text-search tool or the Developers Toolkit.
    But if you really need to update an external system "whenever" it changes, then it really doesn't matter "what" causes the change, right? So you'll need to hack your custom code into the function.
    .

    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. v151 what is Trigger.php
    By imfsub12 in forum General Questions
    Replies: 6
    Last Post: 2 May 2023, 04:10 AM
  2. Replies: 3
    Last Post: 15 Jan 2012, 07:34 PM
  3. Session_regenerate_id error
    By thekimber in forum General Questions
    Replies: 7
    Last Post: 8 Nov 2007, 06:27 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