This works all well and good to randomize which poll question is displayed to the visitor; but (here comes the problem…) when the visitor submits their vote, it’s a crapshoot as to whether the results are displayed or another question. This seems to be because the page is refreshed to normally display the results, but in my case the asp randomizes the project id so sometimes I get the results and others I get another question. Okay so that got a little redundant, but you probably got the picture.
Code: Select all
Now for the question… Is there a way to know if the user just submitted their vote and the results need to be displayed? That way I could by-pass the randomization pull from SQL.