Hey, im trying to track if a user is logged in or not, ive made a login screen, which connects to a database and checks if the user exists, when if they exist, another window pops up, how can I check if the username exists without having to do another database query? Im not using servlets and when searching for examples those are the only ones im getting. Its not on a website, its a application.
Anyone know how I would be able to do this?
