I'm sorry if i'm posting this again but i just can't find the search forum button.
When I tried logging into daniweb it kept redirecting me to the login page everytime, even though the username and password is same and actually filled in by the browser. Finally I chose the link at the top of the page to login, which opened a pop-up window accepting login and password and that worked.