Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A possible way for searching for sessid #1

Open
eri24816 opened this issue May 2, 2023 · 1 comment
Open

A possible way for searching for sessid #1

eri24816 opened this issue May 2, 2023 · 1 comment

Comments

@eri24816
Copy link
Contributor

eri24816 commented May 2, 2023

Given input: course name
Output: sessid

  1. Find the latest session id in the Moodle system. If one requests with too large sessid, Moodle responds "Can't find data record in database table attendance_sessions." This behavior enables binary search for the latest session id.

  2. Perform a backward sequential search on sessid until the responded course name is correct.

@eri24816
Copy link
Contributor Author

eri24816 commented May 2, 2023

PR #2

Repository owner deleted a comment from Azerxim Feb 6, 2024
Repository owner deleted a comment from maiconzucco Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@eri24816 and others