Questions tagged [session-end-hook]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
70 views

Is there a way to get the member_id of a user that was just logged out?

I currently have the core file Session.php modified a little to keep track of login/logout information and member_ids - create_new_session() for login, destroy() for logout. I realize that this can ...
user avatar
1 vote
1 answer
50 views

hook_sessions_end causing major issues on EE 2.5.5 site

Please Please Help! We have been running around in circles trying to resolve an issue with and old EE site, all of a sudden it just stopped working admin side, hitting memory limits (even at 1G) and ...
user avatar
4 votes
1 answer
296 views

Intelligent ways to force redirects before a session ends?

I was hoping to pick people's brains on a topic. I am developing a web app which sits on top of Expression Engine and this has worked really well so far. I have one issue though and I have a quick ...
user avatar
9 votes
1 answer
183 views

Turn off extension in Control Panel

I would like to make sure an extension isn't run, via sessions_end hook, in the control panel. I'm currently doing this like so: if ($this->EE->input->get_post('D') == "cp") { return ...
user avatar
  • 2,654