In addition to everything else that has been said, using "Option Explicit"
on every ASP page I write has helped me with things like what you
encountered. It is optional (for some, not to me), but in your case it
would have raised an error that you hadn't defined the variable "agree" (no
quotes), helping you to identify the problem sooner.
(and BTW, I have to add with a grin that "Yes, Mom" was appropriate, because
it was said exactly the way I used to say it to my brother when he was doing
his self-righteous finger-wagging. Has nothing to do with gender or with
the fact that Ray was very right about his effective development practices.)
"Harry" <ha************ @hotmail.com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...
Hi All,
Can anyone clever out there tell me why the below script does not
work!
- I have a page with two radio boxes with values of "agree" and
"not_agree" .
- The form is set to GET which goes to the below script for
processing.
- No matter which of the two radio boxes are selected, it always goes
to the page "/broadband/order.asp".
- There is no other code on the form processing page apart form what
is below.
- PLEASE HELP
Thanks
H
<%
if request.ServerV ariables("terms _conditions") = agree then
response.Redire ct("/broadband/order.asp")
else
response.Redire ct("/default.asp")
end if
%>