in reply to Partial reloads of a page \ script ?
If the other parts of the page aren't affected, then your facing a situation that frames (and framesets) were designed to handle. If the voting page is in a frame, the frame source can be set to your voting CGI. That CGI can check whether the user has already voted. If not, emit a voting form. If so, emit results. To vote, POST to the same CGI, which records the vote, and emits HTML representing results. The remainder of the page is unaffected.
|
|---|