I configured Mikrotik Hotspot and I set 8 Hours as a session Time out but just Iphone devices get disconnected after they lock their phone.
I increase DHCP lease Timeout,Session Time out and also Idle time out.
how can i do?
You can’t. Portable devices may choose to switch off wireless to save battery life and there’s nothing on the AP to change that decision.
Perhaps there some tweaking possible on portable device not to switch wireless off … but expect notably shorter battery life. Not something you can do on random user’s phone though.