I'm doing a system of a medical office in VisualBasic and I do not know how to make the session stay active. That is, in the Login window the RUT and the password are entered, then the BD is consulted to confirm that the data is correct. If they are correct the Login window is closed and the window corresponding to the type of user appears (In this case a doctor) Now, I do not know how to avoid a double log. How I do it so that only with the first login, the doctor has access only the orders of attention corresponding to your routine.