So I found a potential solution, but I'm not sure what problems might arise from it.
1) With Track Session Metadata turned on in the Joomla config the *_session joomla table tracks userid and username
2) I can walk through $_COOKIE to find a value that matches a session_id in the *_session joomla table
3) I can then return the userid if there is a match
4) To make sure that session doesn't expire I update the timestamp for the matched entry in the *_session joomla table
Is there a reason not to use this approach?
1) With Track Session Metadata turned on in the Joomla config the *_session joomla table tracks userid and username
2) I can walk through $_COOKIE to find a value that matches a session_id in the *_session joomla table
3) I can then return the userid if there is a match
4) To make sure that session doesn't expire I update the timestamp for the matched entry in the *_session joomla table
Is there a reason not to use this approach?
Statistics: Posted by Pallieguy — Wed Apr 17, 2024 7:21 pm