hmm, but I want the present value, before update, to determine which form to show.
Actually, that part works perfectly. If I remove the conditional statements and just load one page or the other, it increments the visitcount properly and it forwards the visitor.
I actually had it like that initially and on the next page I had the if / then showing the appropriate form in an <iframe> but that approach is not ideal.
So here is what I am trying to do.
Load page
check how many visits have been made to date
Select appropriate redirect URL
Process Record Update, incrementing visitcount by 1, (for next visit)
Process redirect URL