I have a Question to all you developers out there.
I have i frontend, backend system. frontend is a android application and backend is a c# based application "database" and authentication server. The communication is normal tcp connection. When Android app connects to backend, it sends a login request. backend evaluates and sends if the authentication was OK or not. nothing fancy just a simple login. my problem begins when a frontend goeas in sleepmode or for some how the connection is blorken. Then the frontend needs to reconnect again. It is not optimized that everytime frontend goes to sleep and then wakeup it have to login ( sends username and password ) all over again and then request the information. Is there any better way to solve my broblem. ?
Any sugestions ?