guys and girls,
now that my w2k server is up and running again i can do some real work!
i'm wondering if it is possible to build a multi function confirmation page?
at the moment, i have all the admin pages for the site pointing to one
confirmation page - would like to show a customised message dependat on
where the user has come from.
for example, i'm on the amend page, i do my changes, hit submit and the page
goes to confirm.asp. in that page i've set up this asp:
<% If Request.ServerVariables("HTTP_REFERER") = "amend.asp" Then
Response.Write "Would you like to amend another record?" End If %>
this works!!
the thing is that if the url has variables passed it dont, eg if the url
sting is
confirm.asp?entinfoid=10&custid=10
the code dont work cos it dont match!!
so what i need is something that says "if the url sting contains 'amend.asp'
then...."
almost changing the equals to like??
whatcha think??
cheers,
jake