ePages 6.17.17 - DE_EPAGES/Shop/Hooks/Session.pm

Package DE_EPAGES::Shop::Hooks::Session

Updates the LastMerchantLogin date of a shop whenever a merchant logs on.

Functions

OnAfterLoginUser
OnTestAdminSFSession

OnAfterLoginUser

Updates the LastMerchantLogin date of a shop when the logged on user is a merchant (Hook UI_AfterLoginUser)

Syntax
OnAfterLoginUser( $hParams );

OnTestAdminSFSession

Test if the shop is closed by merchant and if the session user is a merchant, if the internal session id exists. (Hook API_TestAdminSFSession)

Syntax
OnTestAdminSFSession( $hParams );