We have a website URL(php on apache), which opens up a login page. While the login page loads fine, after entering the username and password, it takes ages to login. It looks like the php-mysql authentication is taking a lot of time, but I can't figure out why it's taking so much time.
I have also tested this on localhost, so dns issue is ruled out. Can someone suggest how to drill down further to understand what's causing the slowness?