On my website, I created a main page and an index.html page that redirects to the main page through a login panel.
The issue I am encountering is that when I log in successfully on the main page and then refresh the page, it takes me back to the login page instead of staying on the main page as it should.
Does anyone have any suggestions on how I can resolve this problem? Below is the HTML code for index.html:-
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Index</title>
<frameset cols="100%">
<frame src="login.html">
<frame src="index1.html"></frameset><noframes></noframes>
</head>