Is it Infinite Loop when I log in to my website and click profile link then it just directly go to home page and when I try to access login page for the second time then just go to home page again. Anybody knows what's wrong with my script and how to solve this problem? Thanks