posted 16 years ago
this is my preoccupation:
i design an 2-tier application, the program has the *login window* and *main windows*.
I want to get the current user *login name* and display into the *main window* after the user has logged on successfully.but i don't know how to go about it.
i also have a table that store the userDetails with the following columns (username,loginname,passwords..) and also a table that store the # login named loginhistory with the following columns (loginname,date,machineip ...).
Finally i also have into a login window a method variable that store the user l*ogin name* .
I wanna get this login name into the main Window.
how can i do that?