Avatar of dar3mind
dar3mind
 asked on

asp code

Hello

I have dll file to detect the user browser

if he user blocked browser the function ims_check will return 0 else will return 1

i need to add if statement to redirect it to suspend.asp if it's return 1

what's the syntax of asp classic code i can use ?

ThanQ
ASP

Avatar of undefined
Last Comment
dar3mind

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
sammySeltzer

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
dar3mind

ASKER
<%@Language = VBScript%>
<%
if(rs("ims_check")=1 then
              Response.Redirect ("suspend.asp")
 end if
%>

i got error 500 internal server error
dar3mind

ASKER
Dim icheck
icheck = Request.Form("ims_check ")

if icheck = 1 then
 response.redirect "suspend.asp"
end if
                                       

this working
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck