M
Mike Kanski
I have an asp page that contains a simple insert statement and redirect
i.e.:
Page1.asp
<%oconn.execute "insert into table 1 values(1)"
response.redirect "newpage.asp"
%>
I have to add some code to it to not allow execution of this script if the
page was called from the <img> tag i.e..
<img src=http://webname.com/page1.asp width=1 height=1>
The page should be opened in browser in order for the script it contains to
be executed. How do i acomplish that?
i.e.:
Page1.asp
<%oconn.execute "insert into table 1 values(1)"
response.redirect "newpage.asp"
%>
I have to add some code to it to not allow execution of this script if the
page was called from the <img> tag i.e..
<img src=http://webname.com/page1.asp width=1 height=1>
The page should be opened in browser in order for the script it contains to
be executed. How do i acomplish that?