This question already has an answer here:
When I wanted to login in my localhost xampp server with magento I got a problem. The problem is that magento when I enter my user account gives me a key but he didn't redirect me to my admin home page. I have changed my password with mysql but it still doesn't work. I neither got an error that means that the username and password are correct. But it does nothing.