SQLMAP Redirect using xampp

I am learning SQLi using sqlmap and xampp, I set up same way as per tutorial but when i run sqlmap.py -u “http://localhost/bwapp/sqli_1.php?title=1*” , the error got 302 redirect to http://localhost:80/bwapp/login.php and when i clicked either yes or no ,then the error “you have not declared cookies , while server wants to set its own….”. May I know how to solve this issue?