Login page will display in Mainpage

hii Good Morning :slight_smile: Friends :slight_smile:
How to avoid overloading in PHP ?
When i execute only mainpage it overload login page [ Login page will display in Mainpage]…
Can anyone tell how to solve this problem…

Hello, can you explain what overload means? Are you talking about redirecting? As in when you load the main page, it redirects you to the login page and when you’re on the login page, it redirects you back to the main page? If so, this would be consider an infinite loop and you would have to set some sort of session cookie to indicate that the user isn’t logged in yet and if they are, redirect them back to the main page.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.