ข้ามไปเนื้อหา

ผลต่างระหว่างรุ่นของ "CuneiForm"

เพิ่มขึ้น 874 ไบต์ ,  16 เมษายน 2567
บรรทัดที่ 683: บรรทัดที่ 683:


==== Redirecting Form ====
==== Redirecting Form ====
Redirecting form mimics normal form submissikon behaviour but with some logic run before the submit request is really sent. A rough explanation for the CuneiForm's redirecting form is as follows:


# If there is another submission routine running (checked via attribute '''pass_finalchk'''), immediate stop the redundant routine.
# If any of the flags '''populating''', '''search_filling''', or '''proceeding''' are active, put the submission routine in the queue via flag '''waiting_to_submit'''. The queue is automatically handled when the obstructing flags are flipped back.
# Send a time-check request to verify the session time and the page time match. ''This action is performed by blocking the submit, performing a time check, and only calling the submission routine again afterward if the check passes. (During the process, the flag '''pass_timechk''' is utilized.)''


==== Non-redirecting Form ====
==== Non-redirecting Form ====