Hi,
When a student logs on to my program at a workstation, the program asks for a password and a 'password' file on the server is checked. If the password is found, then that students' grade file is opened and his name appears on the opening screen.
A school told me that when 2 students log on at the same time, sometimes one of their names appears on BOTH computers. Why might this happen. ?
The password file contains all the passwords for the class and each student has a separate grade file.
Do I need to code for the possibility of several students accessing the password file simultaneously? What would that code look like?
Prof Weissman
When a student logs on to my program at a workstation, the program asks for a password and a 'password' file on the server is checked. If the password is found, then that students' grade file is opened and his name appears on the opening screen.
A school told me that when 2 students log on at the same time, sometimes one of their names appears on BOTH computers. Why might this happen. ?
The password file contains all the passwords for the class and each student has a separate grade file.
Do I need to code for the possibility of several students accessing the password file simultaneously? What would that code look like?
Prof Weissman