ePages 6.10 - DE_EPAGES/Order/Hooks/Session.pm

Package DE_EPAGES::Order::Hooks::Session

Two actions on changing/ removing sessions.

Functions

OnBeforeUpdateSession
OnDeleteSession

OnBeforeUpdateSession

API_BeforeUpdateSession triggered to move current basket to new user (register/login user with existing basket).

Syntax
OnBeforeUpdateSession( $hParams );
Input
$hParams (ref.hash.*)
hook arguments, used keys are
  • IntSessionID
  • UserID

OnDeleteSession

API_DeleteSession triggered to remove baskets of current user.

Syntax
OnDeleteSession( $hParams );
Input
$hParams (ref.hash.*)
hook arguments, used key is
  • IntSessionID