code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
| <%
If rs.recordcount = 0 then
rs.close
cnn.close
set rs=nothing
set cnn=nothing
Response.Redirect("./menu.asp")
end if
If (uid) = "admin" AND (pwd) = "admin" Then
Session( "login" ) = True
rs.Close
cnn.Close
set rs=nothing
set cnn=nothing
Response.Redirect("admin.asp")
end if
------>>> If rs("password") = pwd then
Session("login") = rs("Naam")
rs.Close
cnn.Close
set rs=nothing
set cnn=nothing
Response.Redirect("klant.asp")
else
rs.Close
cnn.Close
set rs=nothing
set cnn=nothing
Response.Redirect("./menu.asp")
end if
%> |
Hij zegt dan waar het pijltje staat dat op die regel een Exception occurred aangeeft
kan iemand helpen