Chatwee Posted August 16, 2017 Share Posted August 16, 2017 Is there a code hook that runs after IPS has finished loading but before any headers are sent? Link to comment Share on other sites More sharing options...
Adriano Faria Posted August 16, 2017 Share Posted August 16, 2017 What exactly you want to do? Link to comment Share on other sites More sharing options...
Chatwee Posted August 16, 2017 Author Share Posted August 16, 2017 Basically, every time a page is refreshed, I need to check if a user is logged in, and if they are, I can decide whether to log them in to an external service or not. Link to comment Share on other sites More sharing options...
Adriano Faria Posted August 16, 2017 Share Posted August 16, 2017 You can hook into \IPS\Displatcher\Front::finish(). Link to comment Share on other sites More sharing options...
Chatwee Posted August 16, 2017 Author Share Posted August 16, 2017 Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.