if instr(application("hej"), "gam") > 0 then
response.redirect "hej.asp"
else
Application("hej") = Application("hej") & "gam"
End If
mvh,
1 svar · 169 visningar · startad av nakoz
jag vill kunna söka i en application jag har, för att om ett värde redan existerar i applicationen så skall inget läggas till.
exempel:
If Application("hej") INNEHÅLLER "gam" Then
Response.Redirect "hej.asp"
Else
Application("hej") = Application("hej") & "gam"
End If
mvh...
if instr(application("hej"), "gam") > 0 then
response.redirect "hej.asp"
else
Application("hej") = Application("hej") & "gam"
End If
mvh,