javascript - Page reloading back to login page after refresh -
I have made a main page for my website but before that I have also created an index.html page which Redirects to html via the page login panel.
The problem I am facing is that when I refresh my entry after entering the main page, it returns to the login page which it should not do.
Can someone help me how can I overcome this problem? My HTML code for index.html is as follows: -
& lt; Head & gt; & Lt; Meta http-equiv = "content-type" content = "text / html; charset = ISO-8859-1" /> & Lt; Title & gt; Index & lt; / Title & gt; & Lt; Frameset column = "100%" & gt; & Lt; Frame src = "login.html" & gt; & Lt; Frame src = "index1.html" & gt; & Lt; / Frameset & gt; & Lt; Noframes & gt; & Lt; / Noframes & gt; & Lt; / Head & gt; Try using one such real-time redirect:
Index 1.html & lt; Script type = "text / javascript" & gt; Window.location = 'login.html'; & Lt; / Script & gt; If you set it as the only line in your index1.html , you will redirect a login and the actual URL to your login page. Once, proceed normally.
Comments
Post a Comment