vanderbilt-redcap / flight-tracker

The release repository for Flight Tracker for Scholars, career development software
https://redcap.link/flight_tracker
Other
4 stars 4 forks source link

Getting logged out of REDCap when accessing Flight Tracker page in project #5

Open uiowajs opened 3 months ago

uiowajs commented 3 months ago

When we access the Flight Tracker page in one particular REDCap project, it logs us out of REDCap. It only happens on one Flight Tracker project. We've copied it with and without data and it still happens in the new copies. This has happened on multiple versions of the EM. We're now on 6.12.1. It was also happening on 6.12.0 and an older version I unfortunately don't remember. Not really seeing anything in the EM log or reddcap_error_log table

scottjpearson commented 3 months ago

This sounds like an error related to $_SESSION variables in PHP, which Flight Tracker uses to cache data and REDCap uses to store login information. I'm not seeing this on other systems, so it's likely due to something in your setup.

First, we'll have to figure out what's going wrong. Do you have any global REDCap hooks active, especially an every-page hook? I wonder if there's a call to session_start() in one of those files. Are other ExtMods active on that project, and do they contain hooks? Again, that could be a culprit with a similar cause.

Once we figure out the cause, I can see if there's a way that I can write code around it to avoid the trouble from occurring in the first place.

scottjpearson commented 2 months ago

@uiowajs I just wanted to check if you saw this post. Thanks!

uiowajs commented 2 months ago

@uiowajs I just wanted to check if you saw this post. Thanks!

Hello, We are looking into this.

Thanks