Is it possible for DHCP not to give IP if user is not login to Hotspot?

I don’t know if I configured anything wrong but once a hotspot session has expired, the user is not redirected automatically to the login page. So is it possible for the dhcp to automatically drop the user once he is no longer logged into hotspot? It seems more convenient rather than having the user to enter the login page url every time they are logged out.