Modify Fig. 25.24’s login.asp to read and write to a text file rather than a database.
What will be an ideal response?
Note: The first table contains users.txt. The second table contains login.asp. The third table contains sub-
mitlogin.asp.
```
1 jdoe, password
2 bjones,password
3 kjones,password
4 tblack,password
5 egarcia,password
6 ichen,password
7 vsmith,password
8 rjacobs,password
9 msaba,password
10 <% @LANGUAGE = VBScript %>
11 <% Option Explicit %>
12
13 <% ' Ex 25_07 Solution : login.asp %>
14
15
16
17
18
19
20
21
22
23 <%
24 ' If this is a return after a failed attempt,
25 ' print an error
26 If Session( "loginFailure" ) = True Then %>
27 Login attempt failed,
28 please try again
29 <% End If
30
31 ' Begin the form %>
32
33 Please select your name and enter
34 your password to login:
You might also like to view...
When testing macros with conditions ________
A) all outcomes should be tested B) you are prompted to identify the type of macro test required C) allow enough time for the test as the macro cannot be interrupted D) it is not necessary to test the false outcome
For unsigned integers, each left shift (using the << operator) corresponds to ____.
A. multiplication by 2 B. division by 2 C. multiplication by 4 D. division by 4
?In a brute force attack, a cracker uses a program to enter character combinations until the system accepts a user name and password.
Answer the following statement true (T) or false (F)
What clause of a DELETE statement can have a subquery in it?
a. DELETE b. FROM c. WHERE