Reload page on login page after update

I made the main page for my site, but before that I also made the index.html page, which redirects to my html page through the login panel.

The problem I am facing is that after entering the main page when updating, it returns to the login page, which it should not.

Can someone help me how can I overcome this problem? Below is my 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>
+3
source share
3 answers

Try using the actual redirect as follows:

index1.html

<script type="text/javascript">    
    window.location = 'login.html';
</script>

index1.html, URL- . , .

0

, , ? .

0

if you navigate inside the frame containing login.html, your main url will not change and you will have index.html in your navigation bar.

So, if you refresh (F5 or by clicking the refresh button), you will refresh the index.html page and you will be returned to your login page.

0
source

All Articles