dragonflare
Member
- Joined
- Oct 11, 2011
- Messages
- 6
- Programming Experience
- 1-3
Hello people,
I am making a vb.net client application that works with a php based website where users can reserve a pc for themselves at a certain day and a certain time.
I have made the application in such a way that upon logon, it queries the database and finds the person who booked pc at this time and compares the username to the person logged on. If it matches a welcome screen is showed with additional options. Else a window is shown which says "This PC is already booked. You will be logged of in 10 seconds".
The problem i am facing is, i have coded the close button to logoff since i dont want user to bypass this part, but yesterday i saw that if i close the app directly from taskbar (processes) it just closes....... without logging him off...
How can we code or is there anything we can do that, even if he closes the application through task bar there is still an instant log off?
Thanks a lot for all help!
I am making a vb.net client application that works with a php based website where users can reserve a pc for themselves at a certain day and a certain time.
I have made the application in such a way that upon logon, it queries the database and finds the person who booked pc at this time and compares the username to the person logged on. If it matches a welcome screen is showed with additional options. Else a window is shown which says "This PC is already booked. You will be logged of in 10 seconds".
The problem i am facing is, i have coded the close button to logoff since i dont want user to bypass this part, but yesterday i saw that if i close the app directly from taskbar (processes) it just closes....... without logging him off...
How can we code or is there anything we can do that, even if he closes the application through task bar there is still an instant log off?
Thanks a lot for all help!