How would you code something like this.<BR><BR>If the user comes from this page then<BR>do not execute this code but display the page<BR>else<BR>do execute this code?
R&D request.serverobjects<BR><BR><BR>then <BR><BR>if request.serverobjects("...") = "Page Name" then<BR>response.redirect("the other page")<BR>end if<BR>'your code here<BR>
You need to be more specific if you want something different.
<%If Request.ServerVariables("http_referer") = "somewhere" then %><BR>bah<BR><% else %><BR>
Is it necessary to redirect to another page or can I just display that page without executing the code?
I know what I want to do I just don't know what the syntax might be but thanks the others answered my question.
YOU said show another page so i said redirect. You can user server.execute if you REALLY meant another page <BR>OR<BR>just have the code there. You need not redirect.<BR><BR>
I thought I said just show THE page. Thanks.